aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/profile_dlg.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2008-04-07 00:42:04 +0000
committerUlf Lamping <ulf.lamping@web.de>2008-04-07 00:42:04 +0000
commit3b7fe5fc6cc5b53452b8c4ad4cb828c02afe5149 (patch)
tree52d9dbedf307cf6031925c2db7115ba547b601ad /gtk/profile_dlg.c
parentc857a039073a14c4e31ce522e47f08b4b57d31b3 (diff)
remove GTK1 code
svn path=/trunk/; revision=24823
Diffstat (limited to 'gtk/profile_dlg.c')
-rw-r--r--gtk/profile_dlg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/profile_dlg.c b/gtk/profile_dlg.c
index 8004920a3c..80fb20219d 100644
--- a/gtk/profile_dlg.c
+++ b/gtk/profile_dlg.c
@@ -45,8 +45,6 @@
#include "help_dlg.h"
#include <epan/prefs.h>
-#if GTK_MAJOR_VERSION >= 2
-
#define E_PROF_PROFILE_L_KEY "profile_profile_l"
#define E_PROF_COPY_BT_KEY "profile_copy_bt"
#define E_PROF_DEL_BT_KEY "profile_del_bt"
@@ -841,15 +839,12 @@ profile_dialog_new(void)
return main_w;
}
-#endif
-
/* Create a profile dialog for editing display profiles; this is to be used
as a callback for menu items, toolbars, etc.. */
void
profile_dialog_cb(GtkWidget *w _U_)
{
-#if GTK_MAJOR_VERSION >= 2
/* Has a profiles dialog box already been opened */
if (global_profile_w != NULL) {
/* Yes. Just reactivate it. */
@@ -857,6 +852,5 @@ profile_dialog_cb(GtkWidget *w _U_)
} else {
global_profile_w = profile_dialog_new ();
}
-#endif
}