2011-10-07 [colin] 3.7.10cvs19
[claws.git] / src / noticeview.c
index 6d41a15b1f625aeb9a246df94c71f9b2c240b71c..a6d0199ca9f3dbc12f0e47529fa1387daa66b5c2 100644 (file)
@@ -217,7 +217,7 @@ static gboolean noticeview_visi_notify(GtkWidget *widget,
                                       NoticeView *noticeview)
 {
        if (noticeview->icon_clickable)
-               gdk_window_set_cursor(noticeview->evtbox->window, hand_cursor);
+               gdk_window_set_cursor(gtk_widget_get_window(noticeview->evtbox), hand_cursor);
        return FALSE;
 }
 
@@ -225,7 +225,7 @@ static gboolean noticeview_leave_notify(GtkWidget *widget,
                                      GdkEventCrossing *event,
                                      NoticeView *noticeview)
 {
-       gdk_window_set_cursor(noticeview->evtbox->window, NULL);
+       gdk_window_set_cursor(gtk_widget_get_window(noticeview->evtbox), NULL);
        return FALSE;
 }
 
@@ -234,7 +234,7 @@ static gboolean noticeview_enter_notify(GtkWidget *widget,
                                      NoticeView *noticeview)
 {
        if (noticeview->icon_clickable)
-               gdk_window_set_cursor(noticeview->evtbox->window, hand_cursor);
+               gdk_window_set_cursor(gtk_widget_get_window(noticeview->evtbox), hand_cursor);
        return FALSE;
 }