summaryrefslogtreecommitdiff
path: root/mateweather
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-05-03 20:30:52 +0200
committerStefano Karapetsas <[email protected]>2014-05-03 20:30:52 +0200
commit50cf1584a9dec14dd880263354db671303ba4c42 (patch)
tree765dc84990ace7f6e5a1f707c9e2f3da41fa1bd4 /mateweather
parentea97d2d8e5509579a079a49d01ae8cd0bf9065d9 (diff)
downloadmate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.bz2
mate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.xz
Use MateAboutDialog from libmate-desktop
Diffstat (limited to 'mateweather')
-rw-r--r--mateweather/Makefile.am2
-rw-r--r--mateweather/mateweather-about.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/mateweather/Makefile.am b/mateweather/Makefile.am
index 9b0e27c0..d94173d2 100644
--- a/mateweather/Makefile.am
+++ b/mateweather/Makefile.am
@@ -7,6 +7,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir) \
-DMATEWEATHER_MENU_UI_DIR=\""$(uidir)"\" \
$(MATE_APPLETS4_CFLAGS) \
+ $(MATEDESKTOP_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
$(LIBMATEWEATHER_CFLAGS) \
$(NETWORKMANAGER_CFLAGS) \
@@ -25,6 +26,7 @@ mateweather_applet_2_SOURCES = \
mateweather_applet_2_LDADD = \
$(LIBNOTIFY_LIBS) \
$(MATE_APPLETS4_LIBS) \
+ $(MATEDESKTOP_LIBS) \
$(MATE_LIBS2_LIBS) \
$(LIBMATEWEATHER_LIBS) \
$(NETWORKMANAGER_LIBS) \
diff --git a/mateweather/mateweather-about.c b/mateweather/mateweather-about.c
index 424260f7..2fb72b34 100644
--- a/mateweather/mateweather-about.c
+++ b/mateweather/mateweather-about.c
@@ -18,6 +18,8 @@
#include <stdlib.h>
#include <assert.h>
+#include <libmate-desktop/mate-aboutdialog.h>
+
#define MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE
#include "mateweather.h"
@@ -43,7 +45,7 @@ void mateweather_about_run(MateWeatherApplet* gw_applet)
NULL
};
- gtk_show_about_dialog(NULL,
+ mate_show_about_dialog(NULL,
"version", VERSION,
"copyright", _("\xC2\xA9 1999-2005 by S. Papadimitriou and others"),
"comments", _("A panel application for monitoring local weather conditions."),