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 --- trashapplet/src/Makefile.am | 2 ++ trashapplet/src/trashapplet.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'trashapplet/src') diff --git a/trashapplet/src/Makefile.am b/trashapplet/src/Makefile.am index 6e34f837..ebdfbe9f 100644 --- a/trashapplet/src/Makefile.am +++ b/trashapplet/src/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = -I$(top_srcdir) \ $(MATE_APPLETS4_CFLAGS) \ + $(MATEDESKTOP_CFLAGS) \ $(GIO_CFLAGS) \ -DTRASH_MENU_UI_DIR=\""$(datadir)/mate-2.0/ui"\" @@ -14,6 +15,7 @@ trashapplet_SOURCES = \ trashapplet_LDADD = \ $(MATE_APPLETS4_LIBS) \ + $(MATEDESKTOP_LIBS) \ $(GIO_LIBS) \ -lX11 diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c index 53b657d6..709e9d3b 100644 --- a/trashapplet/src/trashapplet.c +++ b/trashapplet/src/trashapplet.c @@ -34,6 +34,7 @@ #include #endif #include +#include #include #include "trash-empty.h" @@ -434,7 +435,7 @@ trash_applet_show_about (GtkAction *action, NULL }; - gtk_show_about_dialog (NULL, + mate_show_about_dialog (NULL, "version", VERSION, "copyright", "Copyright \xC2\xA9 2004 Michiel Sikkes," "\xC2\xA9 2008 Ryan Lortie", -- cgit v1.2.1