1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00

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

This commit is contained in:
Jan D 2010-07-17 18:03:16 +02:00
parent 1c5f6018d5
commit ce6e9d7fc6
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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);