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 --- cpufreq/src/Makefile.am | 2 ++ cpufreq/src/cpufreq-applet.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'cpufreq') diff --git a/cpufreq/src/Makefile.am b/cpufreq/src/Makefile.am index a30d3513..0d7abefd 100644 --- a/cpufreq/src/Makefile.am +++ b/cpufreq/src/Makefile.am @@ -7,6 +7,7 @@ SUBDIRS = $(selector_SUBDIR) AM_CPPFLAGS = \ -DCPUFREQ_MENU_UI_DIR=\""$(datadir)/mate-2.0/ui"\" \ $(MATE_APPLETS4_CFLAGS) \ + $(MATEDESKTOP_CFLAGS) \ $(LIBGLADE_CFLAGS) \ $(DBUS_CFLAGS) @@ -31,6 +32,7 @@ mate_cpufreq_applet_SOURCES = \ mate_cpufreq_applet_LDADD = \ $(MATE_APPLETS4_LIBS) \ + $(MATEDESKTOP_LIBS) \ $(LIBGLADE_LIBS) \ $(LIBCPUFREQ_LIBS) \ $(DBUS_LIBS) diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c index b066c919..aaa4ae4e 100644 --- a/cpufreq/src/cpufreq-applet.c +++ b/cpufreq/src/cpufreq-applet.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include @@ -686,7 +687,7 @@ cpufreq_applet_about_cb (GtkAction *action, NULL }; - gtk_show_about_dialog (NULL, + mate_show_about_dialog (NULL, "version", VERSION, "copyright", "\xC2\xA9 2004 Carlos Garcia Campos", "comments", _("This utility shows the current CPU " -- cgit v1.2.1