summaryrefslogtreecommitdiff
path: root/charpick
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-05-03 20:30:52 +0200
committerStefano Karapetsas <[email protected]>2014-05-03 20:30:52 +0200
commit50cf1584a9dec14dd880263354db671303ba4c42 (patch)
tree765dc84990ace7f6e5a1f707c9e2f3da41fa1bd4 /charpick
parentea97d2d8e5509579a079a49d01ae8cd0bf9065d9 (diff)
downloadmate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.bz2
mate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.xz
Use MateAboutDialog from libmate-desktop
Diffstat (limited to 'charpick')
-rw-r--r--charpick/Makefile.am2
-rw-r--r--charpick/charpick.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/charpick/Makefile.am b/charpick/Makefile.am
index b4c7d1d4..c2608e8e 100644
--- a/charpick/Makefile.am
+++ b/charpick/Makefile.am
@@ -5,6 +5,7 @@ AM_CPPFLAGS = \
-I$(srcdir) \
-DCHARPICK_MENU_UI_DIR=\""$(uidir)"\" \
$(MATE_APPLETS4_CFLAGS) \
+ $(MATEDESKTOP_CFLAGS) \
$(GUCHARMAP_CFLAGS)
libexec_PROGRAMS = charpick_applet2
@@ -15,6 +16,7 @@ charpick_applet2_SOURCES = charpick.c \
charpick_applet2_LDADD = \
$(MATE_APPLETS4_LIBS) \
+ $(MATEDESKTOP_LIBS) \
$(GUCHARMAP_LIBS)
appletdir = $(datadir)/mate-panel/applets
diff --git a/charpick/charpick.c b/charpick/charpick.c
index 861c29a8..7641e468 100644
--- a/charpick/charpick.c
+++ b/charpick/charpick.c
@@ -9,6 +9,7 @@
#ifdef HAVE_GUCHARMAP
#include <gucharmap/gucharmap.h>
#endif
+#include <libmate-desktop/mate-aboutdialog.h>
#include "charpick.h"
#if GTK_CHECK_VERSION (3, 0, 0)
@@ -588,7 +589,7 @@ about (GtkAction *action,
NULL
};
- gtk_show_about_dialog (NULL,
+ mate_show_about_dialog (NULL,
"version", VERSION,
"copyright", "\xC2\xA9 1998, 2004-2005 GNOME Applets Maintainers "
"and others",