diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-01-04 22:13:01 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-01-04 22:13:01 +0000 |
commit | 23a520237b38ce80a4ac10cc3eb53cfecdeab0d3 (patch) | |
tree | 919c01ee278f3c5b2a35be2005ea0efd1674f1e3 /gtk | |
parent | 9dc580af2a19ac5a80b8ee610bdf6ae328495d52 (diff) |
Add initial support for Qt along with a "ui" subdirectory.
svn path=/trunk/; revision=40378
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/recent.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/recent.c b/gtk/recent.c index 43e6aedbde..fe9ce289fe 100644 --- a/gtk/recent.c +++ b/gtk/recent.c @@ -30,7 +30,9 @@ #include <string.h> #include <ctype.h> +#ifndef QT_GUI_LIB #include <gtk/gtk.h> +#endif #include <epan/epan.h> #include <epan/filesystem.h> @@ -44,6 +46,7 @@ #include <wsutil/file_util.h> #include "gtk/recent.h" +#ifndef QT_GUI_LIB #include "gtk/main.h" #include "gtk/menus.h" #include "gtk/gui_utils.h" @@ -54,6 +57,10 @@ #ifdef HAVE_PCAP_REMOTE #include "gtk/capture_dlg.h" #endif +#else /* QT_GUI_LIB */ +#include "qt_ui_utils.h" +#include "../file.h" +#endif /* QT_GUI_LIB */ #define RECENT_KEY_MAIN_TOOLBAR_SHOW "gui.toolbar_main_show" #define RECENT_KEY_FILTER_TOOLBAR_SHOW "gui.filter_toolbar_show" @@ -1096,4 +1103,3 @@ recent_set_column_xalign(gint col, gchar xalign) recent.col_width_list = g_list_append(recent.col_width_list, col_w); } } - |