blob: 9e2a3eea34bcd0f7aa465a2af2aa39eb2ab31bc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.1 2007/10/12 16:22:24 drochner Exp $
--- gtk/window-decorator/gtk-window-decorator.c.orig 2007-09-29 23:17:39.000000000 +0200
+++ gtk/window-decorator/gtk-window-decorator.c
@@ -4248,6 +4248,7 @@ action_menu_map (WnckWindow *win,
case WNCK_WINDOW_DOCK:
/* don't allow window action */
return;
+#if 0 /* libwnck>=2.19.3 has no WNCK_WINDOW_MODAL_DIALOG */
case WNCK_WINDOW_NORMAL:
case WNCK_WINDOW_DIALOG:
case WNCK_WINDOW_MODAL_DIALOG:
@@ -4255,6 +4256,9 @@ action_menu_map (WnckWindow *win,
case WNCK_WINDOW_MENU:
case WNCK_WINDOW_UTILITY:
case WNCK_WINDOW_SPLASHSCREEN:
+#else
+ default:
+#endif
/* allow window action menu */
break;
}
|