summaryrefslogtreecommitdiff
path: root/mate-about/mate-about.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-05-03 21:02:11 +0200
committerStefano Karapetsas <[email protected]>2014-05-03 21:02:11 +0200
commit9c9e964802c8c991a6b77cc3b9cc0ad4717adc4f (patch)
tree1792ec4c54f646a06900f92b82cdaee37e55bd7a /mate-about/mate-about.h
parentc1e67b0daceff1f409c346326548d6ea4e1a7a01 (diff)
downloadmate-desktop-9c9e964802c8c991a6b77cc3b9cc0ad4717adc4f.tar.bz2
mate-desktop-9c9e964802c8c991a6b77cc3b9cc0ad4717adc4f.tar.xz
Remove libunique usage
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