summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserbutton.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-08-17 15:12:51 +0200
committerJavier Jardón <jjardon@gnome.org>2010-08-23 20:18:34 +0200
commit64fca99a898823367b9f560f83f2dba454fca3e6 (patch)
tree8f511df9d239744a58a08ba50736fe180d6d68ed /gtk/gtkfilechooserbutton.c
parent65266d971ebeb24ae878d1bfb8783298507b6548 (diff)
downloadgtk+-64fca99a898823367b9f560f83f2dba454fca3e6.tar.gz
gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkWindow
Diffstat (limited to 'gtk/gtkfilechooserbutton.c')
-rw-r--r--gtk/gtkfilechooserbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index fad706c749..217f8b286e 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));
}