[Xfce4-commits] [apps/xfdashboard] 02/05: Add missing registration of XfdashboardHotCornerSettings class in plugin
noreply at xfce.org
noreply at xfce.org
Thu Feb 25 15:12:03 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 2f68659c2c23a9404ca544047d7010db5eba8258
Author: Stephan Haller <nomad at froevel.de>
Date: Thu Feb 25 12:41:22 2016 +0100
Add missing registration of XfdashboardHotCornerSettings class in plugin
---
plugins/hot-corner/plugin.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/plugins/hot-corner/plugin.c b/plugins/hot-corner/plugin.c
index 012e5a3..c92b047 100644
--- a/plugins/hot-corner/plugin.c
+++ b/plugins/hot-corner/plugin.c
@@ -25,20 +25,21 @@
#include <config.h>
#endif
-#include <libxfdashboard/libxfdashboard.h>
-
#include <libxfce4util/libxfce4util.h>
+#include <gtk/gtk.h>
#include "hot-corner.h"
+#include "hot-corner-settings.h"
+
+
+/* Forward declarations */
+G_MODULE_EXPORT void plugin_init(XfdashboardPlugin *self);
/* IMPLEMENTATION: XfdashboardPlugin */
static XfdashboardHotCorner *hotCorner=NULL;
-/* Forward declarations */
-G_MODULE_EXPORT void plugin_init(XfdashboardPlugin *self);
-
/* Plugin enable function */
static void plugin_enable(XfdashboardPlugin *self, gpointer inUserData)
{
@@ -75,6 +76,7 @@ G_MODULE_EXPORT void plugin_init(XfdashboardPlugin *self)
/* Register GObject types of this plugin */
XFDASHBOARD_REGISTER_PLUGIN_TYPE(self, xfdashboard_hot_corner);
+ XFDASHBOARD_REGISTER_PLUGIN_TYPE(self, xfdashboard_hot_corner_settings);
/* Connect plugin action handlers */
g_signal_connect(self, "enable", G_CALLBACK(plugin_enable), NULL);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list