]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkhandlebox.c
fix compile warnings
[~andy/gtk] / gtk / gtkhandlebox.c
index 22156895672347ab18b5c52ab3eca520164335cc..46e9592bf2833e725ca277e40b63f631ccd7df25 100644 (file)
@@ -1079,7 +1079,8 @@ gtk_handle_box_button_press (GtkWidget      *widget,
              gint root_x, root_y;
              gint width, height;
 
-              gtk_invisible_set_screen (GTK_INVISIBLE (invisible), gtk_widget_get_screen (hb));
+              gtk_invisible_set_screen (GTK_INVISIBLE (invisible),
+                                        gtk_widget_get_screen (GTK_WIDGET (hb)));
              gdk_window_get_deskrelative_origin (hb->bin_window, &desk_x, &desk_y);
              gdk_window_get_origin (hb->bin_window, &root_x, &root_y);
              gdk_drawable_get_size (hb->bin_window, &width, &height);