[gnome-panel] libpanel-applet: Drop usage of GdkNativeWindow



commit aebca052ec7dac896e406ad0018c907783070104
Author: Vincent Untz <vuntz gnome org>
Date:   Wed Feb 2 01:05:43 2011 +0100

    libpanel-applet: Drop usage of GdkNativeWindow
    
    It got removed from gtk+ 3.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=641199

 libpanel-applet/panel-applet.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libpanel-applet/panel-applet.c b/libpanel-applet/panel-applet.c
index fb9db37..ccf79cd 100644
--- a/libpanel-applet/panel-applet.c
+++ b/libpanel-applet/panel-applet.c
@@ -1348,9 +1348,9 @@ panel_applet_focus (GtkWidget        *widget,
 }
 
 static cairo_surface_t *
-panel_applet_create_foreign_surface_for_display (GdkDisplay     *display,
-                                                 GdkVisual      *visual,
-                                                 GdkNativeWindow xid)
+panel_applet_create_foreign_surface_for_display (GdkDisplay *display,
+                                                 GdkVisual  *visual,
+                                                 Window      xid)
 {
         Window window;
         gint x, y;
@@ -1366,10 +1366,10 @@ panel_applet_create_foreign_surface_for_display (GdkDisplay     *display,
 }
 
 static cairo_pattern_t *
-panel_applet_get_pattern_from_pixmap (PanelApplet    *applet,
-                                      GdkNativeWindow xid,
-                                      int             x,
-                                      int             y)
+panel_applet_get_pattern_from_pixmap (PanelApplet *applet,
+                                      Window       xid,
+                                      int          x,
+                                      int          y)
 {
 	GdkWindow       *window;
 	int              width;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]