summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gregedit.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-07-11 20:16:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:58 -0500
commit805ebe10848316f357553cac516187475989abae (patch)
tree338cb9d2ad213a6887b72bb65851c3af30d5f629 /source4/gtk/tools/gregedit.c
parentec3a86254b41988b453da33112c9309f1ec2eb36 (diff)
downloadsamba-805ebe10848316f357553cac516187475989abae.tar.gz
samba-805ebe10848316f357553cac516187475989abae.tar.bz2
samba-805ebe10848316f357553cac516187475989abae.zip
r1455: More Gtk+ updates:
- Start working on 'gwsam' - Add GtkSelectDomainDialog and GtkSelectHostDialog (This used to be commit bea47671aa791f3c4d22263f9444aea1a73f47f1)
Diffstat (limited to 'source4/gtk/tools/gregedit.c')
-rw-r--r--source4/gtk/tools/gregedit.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/source4/gtk/tools/gregedit.c b/source4/gtk/tools/gregedit.c
index 6c13dcaef0..d26f393bb9 100644
--- a/source4/gtk/tools/gregedit.c
+++ b/source4/gtk/tools/gregedit.c
@@ -19,26 +19,14 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdio.h>
-
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtk.h>
#include "includes.h"
+#include "gtk/common/gtk-smb.h"
GtkWidget *openfilewin;
GtkWidget *savefilewin;
GtkTreeStore *store_keys;
GtkListStore *store_vals;
GtkWidget *tree_keys;
-GtkWidget *aboutwin;
GtkWidget *mainwin;
GtkWidget *save;
@@ -265,7 +253,7 @@ static void on_delete_activate (GtkMenuItem *menuitem,
static void on_about_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
- GtkDialog *aboutwin = GTK_DIALOG(create_gtk_samba_about_dialog());
+ GtkDialog *aboutwin = GTK_DIALOG(create_gtk_samba_about_dialog("gregedit"));
gtk_dialog_run(aboutwin);
gtk_widget_destroy(GTK_WIDGET(aboutwin));
}