diff options
author | Brian Cameron <brian.cameron@sun.com> | 2006-02-16 19:23:27 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2006-02-16 19:23:27 +0000 |
commit | cc4ec0e1539254010862c1ebaf39b9b2e63f5eee (patch) | |
tree | 91f1ab43d157846466cf41a0b9e296f8bf713a2b /gui | |
parent | 6201b1c216421cd80415c845b7bb476884ff4886 (diff) | |
download | gdm-cc4ec0e1539254010862c1ebaf39b9b2e63f5eee.tar.gz |
Fix some GCC C-99 compile issues. Fixes bug #331450. Patch provided by
2006-02-16 Brian Cameron <brian.cameron@sun.com>
* daemon/gdmconfig.c, daemon/gdm-net.c, gui/gdmsetup.c:
Fix some GCC C-99 compile issues. Fixes bug #331450.
Patch provided by Jens Granseur.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/gdmsetup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/gdmsetup.c b/gui/gdmsetup.c index ee220b15..80cc8690 100644 --- a/gui/gdmsetup.c +++ b/gui/gdmsetup.c @@ -1674,7 +1674,7 @@ setup_intspin (const char *name, } static void -setup_xdmcp_intspin (const const char *name, +setup_xdmcp_intspin (const char *name, const char *key) { GtkWidget *spin; @@ -5165,6 +5165,7 @@ setup_local_themed_settings (void) GtkWidget *style_label; GtkWidget *theme_label; GtkSizeGroup *size_group; + char *theme_dir; GtkWidget *theme_list = glade_helper_get (xml, "gg_theme_list", GTK_TYPE_TREE_VIEW); @@ -5191,7 +5192,7 @@ setup_local_themed_settings (void) setup_greeter_color ("local_background_theme_colorbutton", GDM_KEY_GRAPHICAL_THEMED_COLOR); - char *theme_dir = get_theme_dir (); + theme_dir = get_theme_dir (); gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (theme_list), TRUE); |