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



commit 64fca99a898823367b9f560f83f2dba454fca3e6
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Aug 17 15:12:51 2010 +0200

    gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkWindow

 gtk/gtkfilechooserbutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index fad706c..217f8b2 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -661,7 +661,7 @@ gtk_file_chooser_button_constructor (GType                  type,
 
       gtk_file_chooser_button_set_title (button, _(DEFAULT_TITLE));
     }
-  else if (!GTK_WINDOW (priv->dialog)->title)
+  else if (!gtk_window_get_title (GTK_WINDOW (priv->dialog)))
     {
       gtk_file_chooser_button_set_title (button, _(DEFAULT_TITLE));
     }



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