summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gwsam.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-01 00:10:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:55 -0500
commit56d20302aa0320e8aec92204cfb580839534f469 (patch)
tree32022e22b0233b12d48b8ff8d20f4f3ea98ee37e /source4/gtk/tools/gwsam.c
parent7d7aacc34729c9dee806436647fdd82f6887df55 (diff)
downloadsamba-56d20302aa0320e8aec92204cfb580839534f469.tar.gz
samba-56d20302aa0320e8aec92204cfb580839534f469.tar.bz2
samba-56d20302aa0320e8aec92204cfb580839534f469.zip
r5598: GTK+ cleanups, remove some globals
(This used to be commit 12bfb37e1b633e8176286601fa38e565dd1f85e2)
Diffstat (limited to 'source4/gtk/tools/gwsam.c')
-rw-r--r--source4/gtk/tools/gwsam.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/source4/gtk/tools/gwsam.c b/source4/gtk/tools/gwsam.c
index 878440527e..69c8dbc361 100644
--- a/source4/gtk/tools/gwsam.c
+++ b/source4/gtk/tools/gwsam.c
@@ -175,18 +175,13 @@ static void on_disconnect_activate (GtkMenuItem *menuitem, gpointer user_data)
gtk_window_set_title (GTK_WINDOW (mainwin), "User Manager");
}
-void
-on_quit_activate (GtkMenuItem *menuitem,
- gpointer user_data)
+static void on_quit_activate (GtkMenuItem *menuitem, gpointer user_data)
{
if(sam_pipe)dcerpc_pipe_close(sam_pipe);
gtk_main_quit();
}
-
-void
-on_account_activate (GtkMenuItem *menuitem,
- gpointer user_data)
+static void on_account_activate(GtkMenuItem *menuitem, gpointer user_data)
{
//FIXME
}