From cc4ec0e1539254010862c1ebaf39b9b2e63f5eee Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Thu, 16 Feb 2006 19:23:27 +0000 Subject: Fix some GCC C-99 compile issues. Fixes bug #331450. Patch provided by 2006-02-16 Brian Cameron * 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. --- gui/gdmsetup.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gui') 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); -- cgit v1.2.1