summaryrefslogtreecommitdiff
path: root/src/gui/menus
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-07-28 10:01:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-07-28 10:01:42 (GMT)
commit463252ebc68e838f2da95a349c44ad74b35be10b (patch)
tree2301c98042810f574206bf2c6c441d23e99680b7 /src/gui/menus
parent81a4be1d7f2621a899c23db6243ce5aefddbbe93 (diff)
Fixed compilation warnings.
Diffstat (limited to 'src/gui/menus')
-rw-r--r--src/gui/menus/project.c1
-rw-r--r--src/gui/menus/view.c5
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/menus/project.c b/src/gui/menus/project.c
index 18c7aaa..d36a322 100644
--- a/src/gui/menus/project.c
+++ b/src/gui/menus/project.c
@@ -33,6 +33,7 @@
#include "../editem-int.h"
#include "../dialogs/shellcode.h"
+#include "../../analysis/loading.h"
#include "../../analysis/contents/file.h"
#include "../../gtkext/easygtk.h"
diff --git a/src/gui/menus/view.c b/src/gui/menus/view.c
index 70cd42e..a00c614 100644
--- a/src/gui/menus/view.c
+++ b/src/gui/menus/view.c
@@ -74,9 +74,8 @@ static void mcb_view_show_full_screen(GtkCheckMenuItem *, GMenuBar *);
GtkWidget *build_menu_view(GObject *ref, GtkAccelGroup *accgroup, GMenuBar *bar)
{
GtkWidget *result; /* Support à retourner */
- GtkWidget *menubar; /* Support pour éléments #1 */
+ GtkWidget *menubar; /* Support pour éléments */
GtkWidget *submenuitem; /* Sous-élément de menu */
- GtkWidget *deepmenubar; /* Support pour éléments #2 */
GSList *rgroup; /* Groupe des boutons radio */
result = gtk_menu_item_new_with_mnemonic(_("_View"));
@@ -90,7 +89,7 @@ GtkWidget *build_menu_view(GObject *ref, GtkAccelGroup *accgroup, GMenuBar *bar)
g_signal_connect(submenuitem, "select", G_CALLBACK(mcb_view_update_side_panels_list), bar);
gtk_container_add(GTK_CONTAINER(menubar), submenuitem);
- deepmenubar = qck_create_menu(GTK_MENU_ITEM(submenuitem));
+ qck_create_menu(GTK_MENU_ITEM(submenuitem));
/* - */