summaryrefslogtreecommitdiff
path: root/stickynotes
diff options
context:
space:
mode:
Diffstat (limited to 'stickynotes')
-rw-r--r--stickynotes/Makefile.am2
-rw-r--r--stickynotes/stickynotes_applet_callbacks.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/stickynotes/Makefile.am b/stickynotes/Makefile.am
index df6f8292..c483ad38 100644
--- a/stickynotes/Makefile.am
+++ b/stickynotes/Makefile.am
@@ -14,6 +14,7 @@ AM_CPPFLAGS = \
-I$(srcdir) \
$(STICKYNOTES_CFLAGS) \
$(MATE_APPLETS4_CFLAGS) \
+ $(MATEDESKTOP_CFLAGS) \
$(LIBWNCK_CFLAGS) \
$(XML2_CFLAGS) \
-DSTICKYNOTES_MENU_UI_DIR=\""$(uidir)"\"\
@@ -36,6 +37,7 @@ stickynotes_applet_SOURCES = \
stickynotes_applet_LDADD = \
$(STICKYNOTES_LIBS) \
$(MATE_APPLETS4_LIBS) \
+ $(MATEDESKTOP_LIBS) \
$(LIBWNCK_LIBS) \
$(XML2_LIBS) \
-lX11
diff --git a/stickynotes/stickynotes_applet_callbacks.c b/stickynotes/stickynotes_applet_callbacks.c
index 980b9a10..6efece25 100644
--- a/stickynotes/stickynotes_applet_callbacks.c
+++ b/stickynotes/stickynotes_applet_callbacks.c
@@ -27,6 +27,7 @@
#endif
#include <X11/Xatom.h>
#include <gdk/gdkx.h>
+#include <libmate-desktop/mate-aboutdialog.h>
static gboolean get_desktop_window (Window *window)
{
@@ -432,7 +433,7 @@ menu_about_cb (GtkAction *action,
NULL
};
- gtk_show_about_dialog (NULL,
+ mate_show_about_dialog (NULL,
"version", VERSION,
"copyright", "\xC2\xA9 2002-2003 Loban A Rahman, "
"\xC2\xA9 2005 Davyd Madeley",