summaryrefslogtreecommitdiff
path: root/pluma
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-07-28 11:47:40 +0300
committermonsta <[email protected]>2016-07-28 11:47:40 +0300
commit0309e46b72b82b2cc6d9a355442e61f70865719b (patch)
treea43008d8fc7172f3973c536b91b91251b6dd0f5e /pluma
parent26d006bed0a52e487c7ad80977481362822a2107 (diff)
downloadpluma-0309e46b72b82b2cc6d9a355442e61f70865719b.tar.bz2
pluma-0309e46b72b82b2cc6d9a355442e61f70865719b.tar.xz
use GtkAboutDialog and get rid of build-dep on libmate-desktop
Diffstat (limited to 'pluma')
-rw-r--r--pluma/Makefile.am4
-rw-r--r--pluma/pluma-commands-help.c7
2 files changed, 1 insertions, 10 deletions
diff --git a/pluma/Makefile.am b/pluma/Makefile.am
index 13a03742..01914351 100644
--- a/pluma/Makefile.am
+++ b/pluma/Makefile.am
@@ -10,7 +10,6 @@ AM_CPPFLAGS = \
-I$(srcdir) \
-I$(srcdir)/smclient \
$(PLUMA_CFLAGS) \
- $(MATE_DESKTOP_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED_CFLAGS) \
-DDATADIR=\""$(datadir)"\" \
@@ -27,8 +26,7 @@ libpluma_la_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_
libpluma_la_LIBADD = \
dialogs/libdialogs.la \
- smclient/libeggsmclient.la \
- $(MATE_DESKTOP_LIBS)
+ smclient/libeggsmclient.la
# PLUMA_LIBS must be the last to ensure correct order on some platforms
libpluma_la_LIBADD += $(PLUMA_LIBS) -lICE
diff --git a/pluma/pluma-commands-help.c b/pluma/pluma-commands-help.c
index 1f69a58e..88f4d8a7 100644
--- a/pluma/pluma-commands-help.c
+++ b/pluma/pluma-commands-help.c
@@ -37,9 +37,6 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#ifdef WITH_MATEDESKTOP
-#include <libmate-desktop/mate-aboutdialog.h>
-#endif
#include "pluma-commands.h"
#include "pluma-debug.h"
@@ -87,11 +84,7 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
pluma_debug (DEBUG_COMMANDS);
-#ifdef WITH_MATEDESKTOP
- mate_show_about_dialog(GTK_WINDOW(window),
-#else
gtk_show_about_dialog(GTK_WINDOW(window),
-#endif
"program-name", "Pluma",
"authors", authors,