Commit ce6e9d7f authored by Jan D's avatar Jan D
Browse files

* gtkutil.c (xg_frame_resized): GTK_IS_MAPPED => gtk_widget_get_mapped, for Gtk 3.0

parent 1c5f6018
......@@ -2,6 +2,7 @@
 
* gtkutil.c (xg_event_is_for_menubar): Also check that event window
is related to the menu bar (Bug#6499).
(xg_frame_resized): GTK_IS_MAPPED => gtk_widget_get_mapped, for Gtk 3.0
 
2010-07-16 Jan Djärv <jan.h.d@swipnet.se>
 
......
......@@ -2898,7 +2898,7 @@ xg_event_is_for_menubar (FRAME_PTR f, XEvent *event)
for (iter = list ; iter; iter = g_list_next (iter))
{
GtkWidget *w = GTK_WIDGET (iter->data);
if (GTK_WIDGET_MAPPED (w) && gtk_widget_intersect (w, &rec, NULL))
if (gtk_widget_get_mapped (w) && gtk_widget_intersect (w, &rec, NULL))
break;
}
g_list_free (list);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment