From: Jan D Date: Sat, 17 Jul 2010 16:03:16 +0000 (+0200) Subject: * gtkutil.c (xg_frame_resized): GTK_IS_MAPPED => gtk_widget_get_mapped, for Gtk 3.0 X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~32 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ce6e9d7fc6474129d6bcc2e43fe221a7985efbba;p=emacs.git * gtkutil.c (xg_frame_resized): GTK_IS_MAPPED => gtk_widget_get_mapped, for Gtk 3.0 --- diff --git a/src/ChangeLog b/src/ChangeLog index 9914cc0767a..b2980ed64b5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/gtkutil.c b/src/gtkutil.c index 3a8212ebdb6..b1bb2e32324 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -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);