summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-16 22:18:28 +0200
committerraveit65 <[email protected]>2016-06-16 22:18:28 +0200
commitebdb94429a048642c049b90e059d265c41a7eb27 (patch)
tree7079986f9d084c2204e1d8a10c2f64bbb3e407d2 /src
parent5fa93702237153bfb582c520063568bb2b1ddf59 (diff)
downloadmate-power-manager-ebdb94429a048642c049b90e059d265c41a7eb27.tar.bz2
mate-power-manager-ebdb94429a048642c049b90e059d265c41a7eb27.tar.xz
use gtk_show_about_dialog for gtk+-2.0
Diffstat (limited to 'src')
-rw-r--r--src/gpm-tray-icon.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index f4b0b94..47315ba 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -39,9 +39,6 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <libupower-glib/upower.h>
-#if !GTK_CHECK_VERSION (3, 0, 0)
-#include <libmate-desktop/mate-aboutdialog.h>
-#endif
#include "egg-debug.h"
@@ -185,11 +182,7 @@ gpm_tray_icon_show_about_cb (GtkMenuItem *item, gpointer data)
NULL
};
-#if GTK_CHECK_VERSION (3, 0, 0)
gtk_show_about_dialog (NULL,
-#else
- mate_show_about_dialog (NULL,
-#endif
"program-name", _("Power Manager"),
"version", VERSION,
"comments", _("Power management daemon"),