diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-04-08 22:21:30 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-04-08 22:21:30 +0100 |
commit | 5a14a74ab193c1252cac62a94e019747aaad9d99 (patch) | |
tree | 636d18adc6ee826064d0ff7f9ecb26014d59a259 /gtk/history.c | |
parent | a6b02680a70afebacc479730edcf3a7b1449b5f3 (diff) | |
download | netsurf-5a14a74ab193c1252cac62a94e019747aaad9d99.tar.gz netsurf-5a14a74ab193c1252cac62a94e019747aaad9d99.tar.bz2 |
Update gtk compatability header to cope with deprication of stock icon interface
Diffstat (limited to 'gtk/history.c')
-rw-r--r-- | gtk/history.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/history.c b/gtk/history.c index deb1763c2..e24794b66 100644 --- a/gtk/history.c +++ b/gtk/history.c @@ -18,17 +18,19 @@ */ +#include "utils/log.h" +#include "utils/utils.h" #include "desktop/global_history.h" #include "desktop/plotters.h" #include "desktop/tree.h" #include "desktop/textinput.h" + #include "gtk/gui.h" #include "gtk/history.h" #include "gtk/plotters.h" #include "gtk/scaffolding.h" #include "gtk/treeview.h" -#include "utils/log.h" -#include "utils/utils.h" +#include "gtk/compat.h" #define MENUPROTO(x) static gboolean nsgtk_on_##x##_activate( \ GtkMenuItem *widget, gpointer g) @@ -171,8 +173,8 @@ MENUHANDLER(export) save_dialog = gtk_file_chooser_dialog_new("Save File", wndHistory, GTK_FILE_CHOOSER_ACTION_SAVE, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, + NSGTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + NSGTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(save_dialog), |