summaryrefslogtreecommitdiff
path: root/src/gpm-prefs-core.h
diff options
context:
space:
mode:
authorMatt Spaulding <[email protected]>2016-07-25 17:52:31 -0700
committermonsta <[email protected]>2016-08-01 15:52:52 +0300
commit69be34ae5e905b2db1f44f84259133d8914f675f (patch)
treef7eb81f0899b6639a7f99353c078273798bcfdd2 /src/gpm-prefs-core.h
parent1d4c6cef6f3caf9e091625ce674c31019478dd22 (diff)
downloadmate-power-manager-69be34ae5e905b2db1f44f84259133d8914f675f.tar.bz2
mate-power-manager-69be34ae5e905b2db1f44f84259133d8914f675f.tar.xz
Port from libunique to GtkApplication
Diffstat (limited to 'src/gpm-prefs-core.h')
-rw-r--r--src/gpm-prefs-core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpm-prefs-core.h b/src/gpm-prefs-core.h
index 39c536c..ed8f936 100644
--- a/src/gpm-prefs-core.h
+++ b/src/gpm-prefs-core.h
@@ -50,7 +50,12 @@ typedef struct
GType gpm_prefs_get_type (void);
GpmPrefs *gpm_prefs_new (void);
+#if GTK_CHECK_VERSION (3, 0, 0)
+GtkWidget *gpm_window (GpmPrefs *prefs);
+void gpm_prefs_activate_window (GtkApplication *app, GpmPrefs *prefs);
+#else
void gpm_prefs_activate_window (GpmPrefs *prefs);
+#endif
G_END_DECLS