summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-28 11:34:28 +0200
committerraveit65 <[email protected]>2016-07-28 21:48:14 +0200
commite2769ec922b622ca9362eb93271949aa42eecc44 (patch)
tree6450f092736a4b209631a75dee637227d556af42
parent0a852ea485c6b0b99a3337942d61a44b95572083 (diff)
downloadmate-panel-e2769ec922b622ca9362eb93271949aa42eecc44.tar.bz2
mate-panel-e2769ec922b622ca9362eb93271949aa42eecc44.tar.xz
clock: use GtkAbout and update copyright
-rw-r--r--applets/clock/clock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index 8a40ad63..dd798277 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -52,8 +52,6 @@
#include <gdk/gdkx.h>
#include <gio/gio.h>
-#include <libmate-desktop/mate-aboutdialog.h>
-
#include <libmateweather/mateweather-prefs.h>
#include <libmateweather/mateweather-xml.h>
#include <libmateweather/location-entry.h>
@@ -3337,9 +3335,10 @@ static void display_about_dialog(GtkAction* action, ClockData* cd)
};
char copyright[] = \
+ "Copyright \xc2\xa9 2012-2016 MATE developers\n"
"Copyright \xc2\xa9 1998-2004 Free Software Foundation, Inc.";
- mate_show_about_dialog(NULL,
+ gtk_show_about_dialog(NULL,
"program-name", _("Clock"),
"authors", authors,
"comments", _("The Clock displays the current time and date"),