aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/gtk
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2020-05-18 19:47:51 +0200
committerLuca Weiss <luca@z3ntu.xyz>2020-05-18 19:49:43 +0200
commitbca9dd336065c5a12cb3e4c3b7f52fb778bb42d6 (patch)
tree7426ebc3fe9af6693be304c6f225687b07ba18d4 /libqmenumodel/src/gtk
parent276a0330b190842ece3fa4bd2e32b5c3b60fed58 (diff)
downloadqmenumodel-bca9dd336065c5a12cb3e4c3b7f52fb778bb42d6.tar.gz
qmenumodel-bca9dd336065c5a12cb3e4c3b7f52fb778bb42d6.tar.bz2
qmenumodel-bca9dd336065c5a12cb3e4c3b7f52fb778bb42d6.zip
Add missing header
Resolves the following build-time warning: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c: In function ‘gtk_simple_action_observer_register_action’: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c:147:7: warning: implicit declaration of function ‘gtk_action_observable_register_observer’ [-Wimplicit-function-declaration] 147 | gtk_action_observable_register_observer (self->observable, self->action_name, GTK_ACTION_OBSERVER (self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c: In function ‘gtk_simple_action_observer_unregister_action’: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c:156:5: warning: implicit declaration of function ‘gtk_action_observable_unregister_observer’ [-Wimplicit-function-declaration] 156 | gtk_action_observable_unregister_observer(self->observable, self->action_name, GTK_ACTION_OBSERVER (self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'libqmenumodel/src/gtk')
-rw-r--r--libqmenumodel/src/gtk/gtksimpleactionobserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libqmenumodel/src/gtk/gtksimpleactionobserver.c b/libqmenumodel/src/gtk/gtksimpleactionobserver.c
index 054b82f..14d37e0 100644
--- a/libqmenumodel/src/gtk/gtksimpleactionobserver.c
+++ b/libqmenumodel/src/gtk/gtksimpleactionobserver.c
@@ -18,6 +18,7 @@
*/
#include "gtksimpleactionobserver.h"
+#include "gtkactionobservable.h"
typedef GObjectClass GtkSimpleActionObserverClass;