changeset 109454:514fed5c0ded

* gtkutil.c (xg_frame_resized): GTK_IS_MAPPED => gtk_widget_get_mapped, for Gtk 3.0
author Jan D <jan.h.d@swipnet.se>
date Sat, 17 Jul 2010 18:03:16 +0200
parents af9e12929a95
children 56176400910f
files src/ChangeLog src/gtkutil.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Jul 17 10:43:41 2010 -0400
+++ b/src/ChangeLog	Sat Jul 17 18:03:16 2010 +0200
@@ -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>
 
--- a/src/gtkutil.c	Sat Jul 17 10:43:41 2010 -0400
+++ b/src/gtkutil.c	Sat Jul 17 18:03:16 2010 +0200
@@ -2898,7 +2898,7 @@
   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);