From 50cf1584a9dec14dd880263354db671303ba4c42 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sat, 3 May 2014 20:30:52 +0200 Subject: Use MateAboutDialog from libmate-desktop --- geyes/Makefile.am | 2 ++ geyes/geyes.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'geyes') diff --git a/geyes/Makefile.am b/geyes/Makefile.am index 791d36fa..ba9750c8 100644 --- a/geyes/Makefile.am +++ b/geyes/Makefile.am @@ -4,6 +4,7 @@ AM_CPPFLAGS = \ -I. \ -I$(srcdir) \ $(MATE_APPLETS4_CFLAGS) \ + $(MATEDESKTOP_CFLAGS) \ -I$(includedir) \ -DGEYES_THEMES_DIR=\""$(pkgdatadir)/geyes/"\" \ -DGEYES_MENU_UI_DIR=\""$(uidir)"\" @@ -17,6 +18,7 @@ geyes_applet2_SOURCES = \ geyes_applet2_LDADD = \ $(MATE_APPLETS4_LIBS) \ + $(MATEDESKTOP_LIBS) \ -lm appletdir = $(datadir)/mate-panel/applets diff --git a/geyes/geyes.c b/geyes/geyes.c index 07c17256..f0bcd5c8 100644 --- a/geyes/geyes.c +++ b/geyes/geyes.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include "geyes.h" @@ -191,7 +192,7 @@ about_cb (GtkAction *action, NULL }; - gtk_show_about_dialog (NULL, + mate_show_about_dialog (NULL, "version", VERSION, "comments", _("A goofy set of eyes for the MATE " "panel. They follow your mouse."), -- cgit v1.2.1