[gconf-editor] Don't use deprecated GTK+ symbols.



commit 574aa245d210a4bb75aca172712998b50f0f6572
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Mar 10 20:35:01 2010 +0100

    Don't use deprecated GTK+ symbols.

 src/gconf-editor-window.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gconf-editor-window.c b/src/gconf-editor-window.c
index 8936e27..5f25b31 100644
--- a/src/gconf-editor-window.c
+++ b/src/gconf-editor-window.c
@@ -254,7 +254,7 @@ gconf_add_recent_key (GConfEditorWindow *window, const char *key)
 		gconf_client_set_list (window->client,
 				       "/apps/gconf-editor/recents", GCONF_VALUE_STRING, list, NULL);
 
-		if (GTK_WIDGET_VISIBLE (GTK_WIDGET (window->output_window)) &&
+		if (gtk_widget_get_visible (GTK_WIDGET (window->output_window)) &&
 	    				window->output_window_type == GCONF_EDITOR_WINDOW_OUTPUT_WINDOW_RECENTS) 
 			gedit_output_window_prepend_line (GEDIT_OUTPUT_WINDOW (window->output_window),
 							  (gchar*) key, TRUE);
@@ -613,7 +613,7 @@ gconf_editor_window_test_expand_row (GtkTreeView       *tree_view,
   GConfEditorWindow *gconfwindow = GCONF_EDITOR_WINDOW (data);
   GdkCursor *cursor;
 
-  if (!GTK_WIDGET_REALIZED (gconfwindow))
+  if (!gtk_widget_get_realized (GTK_WIDGET (gconfwindow)))
     return FALSE;
 
   cursor = gdk_cursor_new (GDK_WATCH);
@@ -633,7 +633,7 @@ gconf_editor_window_row_expanded (GtkTreeView       *tree_view,
 {
   GConfEditorWindow *gconfwindow = GCONF_EDITOR_WINDOW (data);
 
-  if (!GTK_WIDGET_REALIZED (gconfwindow))
+  if (!gtk_widget_get_realized (GTK_WIDGET (gconfwindow)))
     return;
 
   gdk_window_set_cursor (GTK_WIDGET (gconfwindow)->window, NULL);



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