[Xfce4-commits] <xfce4-notifyd:master> Use accessor function to get the GdkWindow.

Jérôme Guelfucci noreply at xfce.org
Sun Feb 16 14:10:01 CET 2014


Updating branch refs/heads/master
         to 93123ab4b7b73e8295102e709d5eeea398774650 (commit)
       from 24d77f5b06c704506b4ae9d2eabdb96e56e12dae (commit)

commit 93123ab4b7b73e8295102e709d5eeea398774650
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Sun Feb 16 14:09:36 2014 +0100

    Use accessor function to get the GdkWindow.

 xfce4-notifyd/xfce-notify-window.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfce4-notifyd/xfce-notify-window.c b/xfce4-notifyd/xfce-notify-window.c
index 29287fa..e2fc40a 100644
--- a/xfce4-notifyd/xfce-notify-window.c
+++ b/xfce4-notifyd/xfce-notify-window.c
@@ -316,7 +316,7 @@ xfce_notify_window_realize(GtkWidget *widget)
 
     GTK_WIDGET_CLASS(xfce_notify_window_parent_class)->realize(widget);
 
-    gdk_window_set_type_hint(widget->window,
+    gdk_window_set_type_hint(gtk_widget_get_window(widget),
                              GDK_WINDOW_TYPE_HINT_NOTIFICATION);
     gdk_window_set_override_redirect(gtk_widget_get_window(widget), TRUE);
     xfce_notify_window_start_expiration(window);


More information about the Xfce4-commits mailing list