[Xfce4-commits] [apps/xfdashboard] 04/19: Now as the window tracker backends for X11 and GDK exists, remove comments to include them in window tracker backend interface.
noreply at xfce.org
noreply at xfce.org
Fri Jun 16 10:56:35 CEST 2017
This is an automated email from the git hooks/post-receive script.
n o m a d p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfdashboard.
commit d863cede633e18fc55b209dfa4c21b720ff363a9
Author: Stephan Haller <nomad at froevel.de>
Date: Tue Jun 13 07:41:24 2017 +0200
Now as the window tracker backends for X11 and GDK exists, remove comments to include them in window tracker backend interface.
Further enhancement for issue GH #129
---
libxfdashboard/window-tracker-backend.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/libxfdashboard/window-tracker-backend.c b/libxfdashboard/window-tracker-backend.c
index 428d31a..118daf5 100644
--- a/libxfdashboard/window-tracker-backend.c
+++ b/libxfdashboard/window-tracker-backend.c
@@ -30,8 +30,8 @@
#include <glib/gi18n-lib.h>
-/*#include <libxfdashboard/x11/window-tracker-backend-x11.h>*/
-/*#include <libxfdashboard/gdk/window-tracker-backend-gdk.h>*/
+#include <libxfdashboard/x11/window-tracker-backend-x11.h>
+#include <libxfdashboard/gdk/window-tracker-backend-gdk.h>
#include <libxfdashboard/marshal.h>
#include <libxfdashboard/compat.h>
#include <libxfdashboard/debug.h>
@@ -90,15 +90,15 @@ XfdashboardWindowTrackerBackend* xfdashboard_window_tracker_backend_get_default(
/* Check if a specific backend was requested */
windowTrackerBackend=g_getenv("XFDASHBOARD_BACKEND");
- /*if(g_strcmp0(windowTrackerBackend, "gdk")==0)
+ if(g_strcmp0(windowTrackerBackend, "gdk")==0)
{
windowTrackerBackendType=XFDASHBOARD_TYPE_WINDOW_TRACKER_BACKEND_GDK;
- }*/
+ }
/* If no specific backend was requested use default one */
if(windowTrackerBackendType==G_TYPE_INVALID)
{
- /*windowTrackerBackendType=XFDASHBOARD_TYPE_WINDOW_TRACKER_BACKEND_X11;*/
+ windowTrackerBackendType=XFDASHBOARD_TYPE_WINDOW_TRACKER_BACKEND_X11;
XFDASHBOARD_DEBUG(NULL, WINDOWS,
"Using default backend %s",
g_type_name(windowTrackerBackendType));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list