updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gtk2-ubuntu / 012_ubuntu-set-grab-add.patch
blob715c15913be8cbe86633a7100cc3ef3a65922093
1 === modified file 'gtk/gtk.symbols'
2 Index: gtk+-2.24.3/gtk/gtk.symbols
3 ===================================================================
4 --- gtk+-2.24.3.orig/gtk/gtk.symbols 2011-03-15 18:00:27.832882477 +1100
5 +++ gtk+-2.24.3/gtk/gtk.symbols 2011-03-15 18:00:29.232966723 +1100
6 @@ -5329,6 +5329,7 @@
7 gtk_widget_get_realized
8 gtk_widget_set_mapped
9 gtk_widget_get_mapped
10 +ubuntu_gtk_widget_set_has_grab
11 #endif
12 #endif
14 Index: gtk+-2.24.3/gtk/gtkwidget.c
15 ===================================================================
16 --- gtk+-2.24.3.orig/gtk/gtkwidget.c 2011-02-20 02:10:21.000000000 +1100
17 +++ gtk+-2.24.3/gtk/gtkwidget.c 2011-03-15 18:00:29.242967328 +1100
18 @@ -11419,5 +11419,15 @@
19 return res;
22 +void
23 +ubuntu_gtk_widget_set_has_grab (GtkWidget *widget,
24 + gboolean has_grab)
26 + if (has_grab)
27 + GTK_OBJECT_FLAGS (widget) |= GTK_HAS_GRAB;
28 + else
29 + GTK_OBJECT_FLAGS (widget) &= ~(GTK_HAS_GRAB);
32 #define __GTK_WIDGET_C__
33 #include "gtkaliasdef.c"
34 Index: gtk+-2.24.3/gtk/gtkwidget.h
35 ===================================================================
36 --- gtk+-2.24.3.orig/gtk/gtkwidget.h 2011-02-20 01:31:37.000000000 +1100
37 +++ gtk+-2.24.3/gtk/gtkwidget.h 2011-03-15 18:00:29.242967328 +1100
38 @@ -1346,6 +1346,9 @@
39 GtkWidget *toplevel,
40 gpointer user_data);
42 +void ubuntu_gtk_widget_set_has_grab (GtkWidget *widget,
43 + gboolean has_grab);
45 G_END_DECLS
47 #endif /* __GTK_WIDGET_H__ */