[Xfce4-commits] <xfdesktop:master> fix compilation when libexo isn't present

Brian J. Tarricone brian at tarricone.org
Thu Aug 20 07:24:02 CEST 2009


Updating branch refs/heads/master
         to 2ce186835f70701b90d02592106a7d489f67f157 (commit)
       from 5da5e1f18651fad5e6f165225d245146764000b9 (commit)

commit 2ce186835f70701b90d02592106a7d489f67f157
Author: Brian J. Tarricone <brian at tarricone.org>
Date:   Wed Aug 19 22:24:13 2009 -0700

    fix compilation when libexo isn't present

 src/xfdesktop-clipboard-manager.c |    3 +++
 src/xfdesktop-icon-view.c         |    4 ++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/xfdesktop-clipboard-manager.c b/src/xfdesktop-clipboard-manager.c
index 709d49b..8635d3b 100644
--- a/src/xfdesktop-clipboard-manager.c
+++ b/src/xfdesktop-clipboard-manager.c
@@ -37,6 +37,9 @@
 #include "xfdesktop-file-utils.h"
 #include "xfdesktop-clipboard-manager.h"
 
+#ifndef I_
+#define I_(str)  g_intern_static_string(str)
+#endif
 
 
 enum
diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index a94c700..afa6c51 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -38,6 +38,8 @@
 
 #ifdef HAVE_LIBEXO
 #include <exo/exo.h>
+#else
+#define I_(str)  g_intern_static_string(str)
 #endif
 
 #include "xfdesktop-icon-view.h"
@@ -1146,7 +1148,9 @@ xfdesktop_icon_view_leave_notify(GtkWidget *widget,
     XfdesktopIconView *icon_view = XFDESKTOP_ICON_VIEW(user_data);
     
     if(icon_view->priv->item_under_pointer) {
+#ifdef HAVE_LIBEXO
         XfdesktopIcon *icon = icon_view->priv->item_under_pointer;
+#endif
         icon_view->priv->item_under_pointer = NULL;
 #ifdef HAVE_LIBEXO
         xfdesktop_icon_view_invalidate_icon(icon_view, icon);



More information about the Xfce4-commits mailing list