summaryrefslogtreecommitdiff
path: root/gui/gdmsetup.c
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2006-04-18 18:44:53 +0000
committerBrian Cameron <bcameron@src.gnome.org>2006-04-18 18:44:53 +0000
commit5e92e6ea8a8637942b4f8620c35a7d1fe02516bd (patch)
tree9ac55ac9d1b93d9e2de04f2852a1a9108d50f0dd /gui/gdmsetup.c
parent661757a048a26b5035410ae6aaf87d3a2f4b4fa3 (diff)
downloadgdm-5e92e6ea8a8637942b4f8620c35a7d1fe02516bd.tar.gz
Fix for C89 compilers. Patch by Jens Granseuer <jensgr@gmx.net>.
2006-04-17 Brian Cameron <brian.cameron@sun.com> * gui/gdmsetup.c: Fix for C89 compilers. Patch by Jens Granseuer <jensgr@gmx.net>.
Diffstat (limited to 'gui/gdmsetup.c')
-rw-r--r--gui/gdmsetup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/gdmsetup.c b/gui/gdmsetup.c
index e973f803..5dfeda3d 100644
--- a/gui/gdmsetup.c
+++ b/gui/gdmsetup.c
@@ -6508,10 +6508,12 @@ main (int argc, char *argv[])
if ( ! DOING_GDM_DEVELOPMENT &&
geteuid() != 0) {
+ GtkWidget *fatal_error;
+
/* Done using socket */
gdmcomm_comm_bulk_stop ();
- GtkWidget *fatal_error =
+ fatal_error =
ve_hig_dialog_new (NULL /* parent */,
GTK_DIALOG_MODAL /* flags */,
GTK_MESSAGE_ERROR,