patches/gtk+-06-solaris-2.0.0-compat.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 18292 9ff9c0fa64d9
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18292
9ff9c0fa64d9 2010-07-29 Christian Kelly <[email protected]>
chrisk
parents: 18249
diff changeset
     1
--- gtk+-2.4.9.orig/gdk/gdkdisplay.c	2004-09-17 13:30:29.800956000 +0100
9ff9c0fa64d9 2010-07-29 Christian Kelly <[email protected]>
chrisk
parents: 18249
diff changeset
     2
+++ gtk+-2.4.9/gdk/gdkdisplay.c	2004-09-17 13:34:38.288070000 +0100
9ff9c0fa64d9 2010-07-29 Christian Kelly <[email protected]>
chrisk
parents: 18249
diff changeset
     3
@@ -524,6 +524,16 @@
13180
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     4
   return window;
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     5
 }
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     6
 
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     7
+/* Backward compatibility with Sun's GNOME 2.0.0 release */
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     8
+GdkWindow *
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     9
+gdk_screen_get_window_at_pointer (GdkScreen  *screen,
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    10
+                                  gint       *win_x,
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    11
+                                  gint       *win_y)
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    12
+{
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    13
+  return gdk_display_get_window_at_pointer (gdk_screen_get_display (screen),
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    14
+                                            win_x, win_y);
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    15
+}
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    16
+
0fc8f2111102 2008-08-19 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    17
 /**
18292
9ff9c0fa64d9 2010-07-29 Christian Kelly <[email protected]>
chrisk
parents: 18249
diff changeset
    18
  * gdk_display_set_pointer_hooks:
9ff9c0fa64d9 2010-07-29 Christian Kelly <[email protected]>
chrisk
parents: 18249
diff changeset
    19
  * @display: a #GdkDisplay