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 --- mateweather/Makefile.am | 2 ++ mateweather/mateweather-about.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'mateweather') 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 #include +#include + #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."), -- cgit v1.2.1