[gnome-control-center] Fix compile with recent GTK versions



commit 07968e54abe059c96a48377e05a602712c46c865
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jun 29 22:16:37 2010 +0100

    Fix compile with recent GTK versions

 panels/datetime/cc-timezone-map.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/datetime/cc-timezone-map.c b/panels/datetime/cc-timezone-map.c
index e891b00..8923aa2 100644
--- a/panels/datetime/cc-timezone-map.c
+++ b/panels/datetime/cc-timezone-map.c
@@ -239,7 +239,7 @@ cc_timezone_map_realize (GtkWidget *widget)
 
   gtk_widget_get_allocation (widget, &allocation);
 
-  GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
+  gtk_widget_set_realized (widget, TRUE);
 
   attr.window_type = GDK_WINDOW_CHILD;
   attr.wclass = GDK_INPUT_OUTPUT;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]