diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-06-17 00:00:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-06-17 00:00:25 +0000 |
commit | 480e2c351b63252fc8648cd26199900b1d5a6f88 (patch) | |
tree | f846768ad598f57b3c14b7c132a3c9f87a78f6ce /ui/gtk/packet_history.c | |
parent | 8bd9df6671b4ab8ba2be4c2bd8fdc88233c31636 (diff) | |
download | wireshark-480e2c351b63252fc8648cd26199900b1d5a6f88.tar.gz wireshark-480e2c351b63252fc8648cd26199900b1d5a6f88.tar.bz2 wireshark-480e2c351b63252fc8648cd26199900b1d5a6f88.zip |
Move some code to manipulate the toolbar and capture interface dialog
out of main_menubar.c into routines in main.c.
Move some routines that are only used by main.c into
main_menubar_private.h.
svn path=/trunk/; revision=43298
Diffstat (limited to 'ui/gtk/packet_history.c')
-rw-r--r-- | ui/gtk/packet_history.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/packet_history.c b/ui/gtk/packet_history.c index 5951da3b02..7dea3d31d4 100644 --- a/ui/gtk/packet_history.c +++ b/ui/gtk/packet_history.c @@ -33,7 +33,7 @@ #include "../file.h" #include "../globals.h" -#include "ui/gtk/menus.h" +#include "ui/gtk/main.h" #include "ui/gtk/packet_history.h" @@ -65,12 +65,12 @@ static void history_print(void) { static void adjust_menus(void) { if(history_current) { - set_menus_for_packet_history( + main_set_for_packet_history( (g_list_previous(history_current) != NULL), (g_list_next(history_current) != NULL)); } else { /* we don't have any history */ - set_menus_for_packet_history(FALSE, FALSE); + main_set_for_packet_history(FALSE, FALSE); } /* history_print(); */ |