[Xfce4-commits] [apps/xfdashboard] 04/05: Register additional GValue transformation function from libxfdashboard to transform values stored in Xfconf when getting or setting such a "transform-needed" value

noreply at xfce.org noreply at xfce.org
Thu Feb 25 15:12:05 CET 2016


This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 53de6b0fed50b4b29e00e94ead03abe9b59ba553
Author: Stephan Haller <nomad at froevel.de>
Date:   Thu Feb 25 13:02:53 2016 +0100

    Register additional GValue transformation function from libxfdashboard to transform values stored in Xfconf when getting or setting such a "transform-needed" value
---
 settings/Makefile.am | 2 ++
 settings/main.c      | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/settings/Makefile.am b/settings/Makefile.am
index 9bd38f1..9e49b62 100644
--- a/settings/Makefile.am
+++ b/settings/Makefile.am
@@ -26,12 +26,14 @@ xfdashboard_settings_SOURCES = \
 
 xfdashboard_settings_CFLAGS = \
 	$(GTK_CFLAGS) \
+	$(CLUTTER_CFLAGS) \
 	$(LIBXFCONF_CFLAGS) \
 	$(LIBXFCE4UTIL_CFLAGS) \
 	$(PLATFORM_CFLAGS)
 
 xfdashboard_settings_LDADD = \
 	$(GTK_LIBS) \
+	$(CLUTTER_LIBS) \
 	$(LIBXFCONF_LIBS) \
 	$(LIBXFCE4UTIL_LIBS) \
 	$(LIBM) \
diff --git a/settings/main.c b/settings/main.c
index f0a1433..27e3ba0 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -25,6 +25,7 @@
 #include "config.h"
 #endif
 
+#include <libxfdashboard/utils.h>
 #include <glib/gi18n-lib.h>
 #include <gdk/gdkx.h>
 #include <gtk/gtk.h>
@@ -100,6 +101,9 @@ int main(int argc, char **argv)
 		return(1);
 	}
 
+	/* Register GValue transformation functions */
+	xfdashboard_register_gvalue_transformation_funcs();
+
 	/* Create and show settings dialog as normal application window
 	 * if no socket ID for xfce settings manager is given ...
 	 */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list