aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-new-dialog.c
diff options
context:
space:
mode:
authorVeerapuram Varadhan <vvaradan@src.gnome.org>2005-12-06 16:56:23 +0800
committerVeerapuram Varadhan <vvaradan@src.gnome.org>2005-12-06 16:56:23 +0800
commit3c535e87667fe5a78d5231d5eff41f81538d79b5 (patch)
tree0c004f61a8288ed2bfa87070e66cbfe5d68b2466 /widgets/menus/gal-view-new-dialog.c
parentb7c92420df7adf6790ca426475fd45fa4e86782d (diff)
downloadgsoc2013-evolution-3c535e87667fe5a78d5231d5eff41f81538d79b5.tar
gsoc2013-evolution-3c535e87667fe5a78d5231d5eff41f81538d79b5.tar.gz
gsoc2013-evolution-3c535e87667fe5a78d5231d5eff41f81538d79b5.tar.bz2
gsoc2013-evolution-3c535e87667fe5a78d5231d5eff41f81538d79b5.tar.lz
gsoc2013-evolution-3c535e87667fe5a78d5231d5eff41f81538d79b5.tar.xz
gsoc2013-evolution-3c535e87667fe5a78d5231d5eff41f81538d79b5.tar.zst
gsoc2013-evolution-3c535e87667fe5a78d5231d5eff41f81538d79b5.zip
Load the widget pointer before using it. Fixes a compiler warning as well
* 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 svn path=/trunk/; revision=30731
Diffstat (limited to 'widgets/menus/gal-view-new-dialog.c')
-rw-r--r--widgets/menus/gal-view-new-dialog.c2
1 files changed, 1 insertions, 1 deletions
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));
}