summaryrefslogtreecommitdiff
path: root/mate-about/mate-about.h
diff options
context:
space:
mode:
Diffstat (limited to 'mate-about/mate-about.h')
-rw-r--r--mate-about/mate-about.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/mate-about/mate-about.h b/mate-about/mate-about.h
index 6f9c58f..9e2b16e 100644
--- a/mate-about/mate-about.h
+++ b/mate-about/mate-about.h
@@ -28,10 +28,6 @@
#include <libmate-desktop/mate-aboutdialog.h>
-#ifdef USE_UNIQUE
- #include <unique/unique.h>
-#endif
-
const char* program_name = "MATE Desktop Environment";
const char* version = PACKAGE_VERSION;
const char* icon = "mate";
@@ -646,13 +642,9 @@
// widget for mate-about window
MateAboutDialog* mate_about_dialog = FALSE;
- // libunique thing
- #ifdef USE_UNIQUE
- extern UniqueApp* mate_about_application;
- UniqueApp* mate_about_application = NULL;
- #elif GTK_CHECK_VERSION(3, 0, 0)
+ #if GTK_CHECK_VERSION(3, 0, 0)
GtkApplication* mate_about_application;
- #elif GLIB_CHECK_VERSION(2, 26, 0)
+ #else
GApplication* mate_about_application;
#endif
@@ -665,9 +657,9 @@
void mate_about_run(void);
void mate_about_release_version(void);
- #if GTK_CHECK_VERSION(3, 0, 0) && !defined(USE_UNIQUE)
+ #if GTK_CHECK_VERSION(3, 0, 0)
static void mate_about_on_activate(GtkApplication* app);
- #elif GLIB_CHECK_VERSION(2, 26, 0) && !defined(USE_UNIQUE)
+ #else
static void mate_about_on_activate(GApplication* app);
#endif