[gtk+] tests/testgtk.c: Use accessor functions to access GtkWindow



commit a0e0c9e89c86ff60ad95c3710e6e74a1b8dc5e2b
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Aug 17 14:59:37 2010 +0200

    tests/testgtk.c: Use accessor functions to access GtkWindow

 tests/testgtk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index ba6a9ba..3a7ad84 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -7553,7 +7553,7 @@ window_state_callback (GtkWidget *widget,
   GtkWidget *label = data;
   gchar *msg;
 
-  msg = g_strconcat (GTK_WINDOW (widget)->title, ": ",
+  msg = g_strconcat (gtk_window_get_title (GTK_WINDOW (widget)), ": ",
                      (event->new_window_state & GDK_WINDOW_STATE_WITHDRAWN) ?
                      "withdrawn" : "not withdrawn", ", ",
                      (event->new_window_state & GDK_WINDOW_STATE_ICONIFIED) ?



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