aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--widgets/ChangeLog6
-rw-r--r--widgets/menus/gal-view-new-dialog.c2
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));
}