diff options
Diffstat (limited to 'mate-dictionary/src')
-rw-r--r-- | mate-dictionary/src/Makefile.am | 6 | ||||
-rw-r--r-- | mate-dictionary/src/gdict-sidebar.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/mate-dictionary/src/Makefile.am b/mate-dictionary/src/Makefile.am index fb05c24e..8616b3ef 100644 --- a/mate-dictionary/src/Makefile.am +++ b/mate-dictionary/src/Makefile.am @@ -60,6 +60,7 @@ mate_dictionary_CFLAGS = \ $(GLIB_CFLAGS) \ $(GIO_CFLAGS) \ $(GTK_CFLAGS) \ + $(MATE_DESKTOP_CFLAGS) \ $(WARN_CFLAGS) \ $(NULL) @@ -69,6 +70,7 @@ mate_dictionary_LDADD = \ $(GLIB_LIBS) \ $(GIO_LIBS) \ $(GTK_LIBS) \ + $(MATE_DESKTOP_LIBS) \ $(NULL) if BUILD_GDICT_APPLET @@ -100,6 +102,7 @@ libmate_dictionary_applet_la_CFLAGS = \ $(GLIB_CFLAGS) \ $(GIO_CFLAGS) \ $(GTK_CFLAGS) \ + $(MATE_DESKTOP_CFLAGS) \ $(WARN_CFLAGS) \ $(NULL) @@ -110,6 +113,7 @@ libmate_dictionary_applet_la_LIBADD = \ $(GLIB_LIBS) \ $(GIO_LIBS) \ $(GTK_LIBS) \ + $(MATE_DESKTOP_LIBS) \ $(NULL) if ENABLE_WAYLAND @@ -146,6 +150,7 @@ mate_dictionary_applet_CFLAGS = \ $(GLIB_CFLAGS) \ $(GIO_CFLAGS) \ $(GTK_CFLAGS) \ + $(MATE_DESKTOP_CFLAGS) \ $(WARN_CFLAGS) \ $(NULL) @@ -156,6 +161,7 @@ mate_dictionary_applet_LDADD = \ $(GLIB_LIBS) \ $(GIO_LIBS) \ $(GTK_LIBS) \ + $(MATE_DESKTOP_LIBS) \ $(NULL) endif # ENABLE_IN_PROCESS endif # BUILD_GDICT_APPLET diff --git a/mate-dictionary/src/gdict-sidebar.c b/mate-dictionary/src/gdict-sidebar.c index 72c56f3f..317f4cbf 100644 --- a/mate-dictionary/src/gdict-sidebar.c +++ b/mate-dictionary/src/gdict-sidebar.c @@ -33,6 +33,8 @@ #include <gdk/gdkkeysyms.h> #include <glib/gi18n.h> +#include <libmate-desktop/mate-image-menu-item.h> + #include "gdict-sidebar.h" typedef struct @@ -409,7 +411,7 @@ gdict_sidebar_add_page (GdictSidebar *sidebar, NULL); /* add the menu item for the page */ - menu_item = gtk_image_menu_item_new_with_label (page_name); + menu_item = mate_image_menu_item_new_with_label (page_name); g_object_set_qdata_full (G_OBJECT (menu_item), sidebar_page_id_quark, g_strdup (page_id), |