diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/Makefile.am | 6 | ||||
-rw-r--r-- | src/gui/core/Makefile.am | 9 | ||||
-rw-r--r-- | src/gui/core/core.c | 3 | ||||
-rw-r--r-- | src/gui/core/items.c | 1 | ||||
-rw-r--r-- | src/gui/dialogs/Makefile.am | 9 | ||||
-rw-r--r-- | src/gui/dialogs/export_disass.c | 1 | ||||
-rw-r--r-- | src/gui/dialogs/gotox.c | 1 | ||||
-rw-r--r-- | src/gui/editor.c | 1 | ||||
-rw-r--r-- | src/gui/menus/Makefile.am | 11 | ||||
-rw-r--r-- | src/gui/panels/Makefile.am | 9 | ||||
-rw-r--r-- | src/gui/panels/bintree.c | 1 | ||||
-rw-r--r-- | src/gui/panels/bookmarks.c | 1 | ||||
-rw-r--r-- | src/gui/panels/errors.c | 1 | ||||
-rw-r--r-- | src/gui/panels/strings.c | 2 | ||||
-rw-r--r-- | src/gui/panels/updating.h | 1 | ||||
-rw-r--r-- | src/gui/panels/welcome.c | 1 | ||||
-rw-r--r-- | src/gui/tb/Makefile.am | 9 |
17 files changed, 15 insertions, 52 deletions
diff --git a/src/gui/Makefile.am b/src/gui/Makefile.am index fcb0298..058b36e 100644 --- a/src/gui/Makefile.am +++ b/src/gui/Makefile.am @@ -25,7 +25,7 @@ libgui_la_LIBADD = \ panels/libguipanels.la \ tb/libguitb.la -libgui_la_LDFLAGS = +libgui_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) @@ -33,10 +33,6 @@ devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) dev_HEADERS = $(libgui_la_SOURCES:%c=) -AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) - -AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) - SUBDIRS = core dialogs menus panels tb diff --git a/src/gui/core/Makefile.am b/src/gui/core/Makefile.am index ebe1278..2077c4b 100644 --- a/src/gui/core/Makefile.am +++ b/src/gui/core/Makefile.am @@ -20,7 +20,7 @@ libguicore_la_SOURCES = \ resources.h resources.c \ theme.h theme.c -libguicore_la_LDFLAGS = $(LIBGTK_LIBS) $(LIBXML_LIBS) +libguicore_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) @@ -28,13 +28,6 @@ devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) dev_HEADERS = $(libguicore_la_SOURCES:%c=) -AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) - -AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) - -SUBDIRS = - - resources.c: gresource.xml $(RES_FILES) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name gui_core gresource.xml diff --git a/src/gui/core/core.c b/src/gui/core/core.c index c68b917..6bebfe2 100644 --- a/src/gui/core/core.c +++ b/src/gui/core/core.c @@ -32,7 +32,6 @@ #include "../menus/view.h" #include "../panels/welcome.h" #include "../../core/params.h" -#include "../../glibext/linesegment.h" #include "../../gtkext/tiledgrid.h" @@ -199,8 +198,6 @@ bool complete_loading_of_all_gui_components(GGenConfig *config) void unload_all_gui_components(void) { - exit_segment_content_hash_table(); - unload_all_themes(); } diff --git a/src/gui/core/items.c b/src/gui/core/items.c index 6c57b7b..2b93dfd 100644 --- a/src/gui/core/items.c +++ b/src/gui/core/items.c @@ -30,6 +30,7 @@ #include "global.h" +#include "../../analysis/binary.h" #include "../../analysis/db/items/move.h" diff --git a/src/gui/dialogs/Makefile.am b/src/gui/dialogs/Makefile.am index a8e7b93..5716f14 100644 --- a/src/gui/dialogs/Makefile.am +++ b/src/gui/dialogs/Makefile.am @@ -31,7 +31,7 @@ libguidialogs_la_SOURCES = \ snapshots.h snapshots.c \ storage.h storage.c -libguidialogs_la_LDFLAGS = +libguidialogs_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) @@ -39,13 +39,6 @@ devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) dev_HEADERS = $(libguidialogs_la_SOURCES:%c=) -AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) - -AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) - -SUBDIRS = - - resources.c: gresource.xml $(UI_FILES) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name gui_dialogs gresource.xml diff --git a/src/gui/dialogs/export_disass.c b/src/gui/dialogs/export_disass.c index 12fc51f..911e345 100644 --- a/src/gui/dialogs/export_disass.c +++ b/src/gui/dialogs/export_disass.c @@ -36,6 +36,7 @@ #include "../core/global.h" #include "../../common/extstr.h" +#include "../../core/columns.h" #include "../../core/global.h" #include "../../core/logs.h" #include "../../core/queue.h" diff --git a/src/gui/dialogs/gotox.c b/src/gui/dialogs/gotox.c index 2179960..9a8a1d2 100644 --- a/src/gui/dialogs/gotox.c +++ b/src/gui/dialogs/gotox.c @@ -31,6 +31,7 @@ #include <i18n.h> +#include "../../core/columns.h" #include "../../core/paths.h" #include "../../format/format.h" #include "../../format/symiter.h" diff --git a/src/gui/editor.c b/src/gui/editor.c index c46c137..f809848 100644 --- a/src/gui/editor.c +++ b/src/gui/editor.c @@ -45,6 +45,7 @@ #include "core/items.h" #include "panels/view.h" #include "tb/portions.h" +#include "../analysis/binary.h" #include "../common/extstr.h" #include "../core/global.h" #include "../core/logs.h" diff --git a/src/gui/menus/Makefile.am b/src/gui/menus/Makefile.am index 3959044..727c0cf 100644 --- a/src/gui/menus/Makefile.am +++ b/src/gui/menus/Makefile.am @@ -11,18 +11,9 @@ libguimenus_la_SOURCES = \ project.h project.c \ view.h view.c -libguimenus_la_LDFLAGS = - -libguimenus_la_LIBADD = $(LIBINTL) +libguimenus_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) dev_HEADERS = $(libguimenus_la_SOURCES:%c=) - - -AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) - -AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) - -SUBDIRS = diff --git a/src/gui/panels/Makefile.am b/src/gui/panels/Makefile.am index 0bde9bf..83e173b 100644 --- a/src/gui/panels/Makefile.am +++ b/src/gui/panels/Makefile.am @@ -33,7 +33,7 @@ libguipanels_la_SOURCES = \ view.h view.c \ welcome.h welcome.c -libguipanels_la_LDFLAGS = +libguipanels_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) @@ -41,13 +41,6 @@ devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) dev_HEADERS = $(libguipanels_la_SOURCES:%c=) -AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) - -AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) - -SUBDIRS = - - resources.c: gresource.xml $(UI_FILES) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name gui_panels gresource.xml diff --git a/src/gui/panels/bintree.c b/src/gui/panels/bintree.c index c31bd88..e90179d 100644 --- a/src/gui/panels/bintree.c +++ b/src/gui/panels/bintree.c @@ -37,6 +37,7 @@ #include "../agroup.h" #include "../panel-int.h" #include "../core/global.h" +#include "../../analysis/binary.h" #include "../../core/queue.h" #include "../../gtkext/easygtk.h" #include "../../gtkext/gtkdisplaypanel.h" diff --git a/src/gui/panels/bookmarks.c b/src/gui/panels/bookmarks.c index 75d0a85..4601631 100644 --- a/src/gui/panels/bookmarks.c +++ b/src/gui/panels/bookmarks.c @@ -37,6 +37,7 @@ #include "../panel-int.h" #include "../core/global.h" +#include "../../analysis/binary.h" #include "../../analysis/db/items/bookmark.h" #include "../../core/params.h" #include "../../core/paths.h" diff --git a/src/gui/panels/errors.c b/src/gui/panels/errors.c index 873c939..ef956d9 100644 --- a/src/gui/panels/errors.c +++ b/src/gui/panels/errors.c @@ -36,6 +36,7 @@ #include "updating-int.h" #include "../panel-int.h" #include "../core/global.h" +#include "../../analysis/binary.h" #include "../../core/global.h" #include "../../core/paths.h" #include "../../core/queue.h" diff --git a/src/gui/panels/strings.c b/src/gui/panels/strings.c index f9d6b00..4627850 100644 --- a/src/gui/panels/strings.c +++ b/src/gui/panels/strings.c @@ -859,7 +859,7 @@ static void reload_strings_for_new_list_view(const GStringsPanel *panel, GtkStat vmpa2_phys_to_string(addr, size, phys, NULL); vmpa2_virt_to_string(addr, size, virt, NULL); - portion = g_binary_portion_find_at_addr(portions, addr, (GdkRectangle []) { { 0 } }); + portion = g_binary_portion_find_at_addr(portions, addr); area = g_binary_portion_get_desc(portion); g_object_unref(G_OBJECT(portion)); diff --git a/src/gui/panels/updating.h b/src/gui/panels/updating.h index 2293a02..b30574d 100644 --- a/src/gui/panels/updating.h +++ b/src/gui/panels/updating.h @@ -30,6 +30,7 @@ #include <gtk/gtk.h> +#include "../../glibext/delayed.h" #include "../../gtkext/gtkstatusstack.h" diff --git a/src/gui/panels/welcome.c b/src/gui/panels/welcome.c index 14e88c5..60593d1 100644 --- a/src/gui/panels/welcome.c +++ b/src/gui/panels/welcome.c @@ -32,7 +32,6 @@ #include <string.h> -#include <config.h> #include <i18n.h> diff --git a/src/gui/tb/Makefile.am b/src/gui/tb/Makefile.am index 3286757..a519d05 100644 --- a/src/gui/tb/Makefile.am +++ b/src/gui/tb/Makefile.am @@ -6,16 +6,9 @@ libguitb_la_SOURCES = \ tbitem-int.h \ tbitem.h tbitem.c -libguitb_la_LDFLAGS = +libguitb_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) dev_HEADERS = $(libguitb_la_SOURCES:%c=) - - -AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) - -AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) - -SUBDIRS = |