diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/ChangeLog | 6 | ||||
-rw-r--r-- | widgets/menus/gal-view-new-dialog.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog index 5243bf6314..d1ff4dcba6 100644 --- a/widgets/ChangeLog +++ b/widgets/ChangeLog @@ -1,3 +1,9 @@ +2005-12-06 Veerapuram Varadhan <vvaradhan@novell.com> + + * menus/gal-view-new-dialog.c (gal_view_new_dialog_set_property): + Load the widget pointer before using it. Fixes a compiler warning + as well as #313219 + 2005-11-29 Simon Zheng <simon.zheng@sun.coma * menus/gal-view-collection.c: (gal_view_generate_string): diff --git a/widgets/menus/gal-view-new-dialog.c b/widgets/menus/gal-view-new-dialog.c index d72fed6cc3..dee0f78dca 100644 --- a/widgets/menus/gal-view-new-dialog.c +++ b/widgets/menus/gal-view-new-dialog.c @@ -255,7 +255,7 @@ gal_view_new_dialog_set_property (GObject *object, guint prop_id, const GValue * switch (prop_id){ case PROP_NAME: - + entry = glade_xml_get_widget(dialog->gui, "entry-name"); if (entry && GTK_IS_ENTRY(entry)) { gtk_entry_set_text(GTK_ENTRY(entry), g_value_get_string (value)); } |