summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/gui/menus/project.c1
-rw-r--r--src/gui/menus/view.c5
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e11a601..05b4dea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
17-07-28 Cyrille Bagard <nocbos@gmail.com>
+ * src/gui/menus/project.c:
+ * src/gui/menus/view.c:
+ Fix compilation warnings.
+
+17-07-28 Cyrille Bagard <nocbos@gmail.com>
+
* plugins/pychrysa/pychrysa.c:
Replace the deprecated readdir_r() function by readdir() calls.
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));
/* - */