don't use non-existing local variables.

2006-05-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
	don't use non-existing local variables.
This commit is contained in:
Michael Natterer
2006-05-03 10:48:59 +00:00
committed by Michael Natterer
parent aca90ffaa2
commit 8dd1f19dd2
3 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2006-05-03 Michael Natterer <mitch@imendio.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
don't use non-existing local variables.
2006-04-29 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkwidget.c (gtk_widget_create_pango_layout)

View File

@@ -1,3 +1,8 @@
2006-05-03 Michael Natterer <mitch@imendio.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
don't use non-existing local variables.
2006-04-29 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkwidget.c (gtk_widget_create_pango_layout)

View File

@@ -637,7 +637,8 @@ gtk_file_chooser_button_constructor (GType type,
/* Set the default title if necessary. We must wait until the dialog has been created to do this. */
if (!priv->has_title)
gtk_file_chooser_button_set_title (button, _(DEFAULT_TITLE));
gtk_file_chooser_button_set_title (GTK_FILE_CHOOSER_BUTTON (object),
_(DEFAULT_TITLE));
current_folder = gtk_file_chooser_get_current_folder_uri (GTK_FILE_CHOOSER (priv->dialog));
if (current_folder != NULL)