[empathy] tpaw-utils: move ACCOUNT_WIDGETS_RESOURCES_PREFIX from Empathy



commit 912b898b3ebc2bc096394686a10db1beae648e48
Author: Marco Barisione <marco barisione collabora co uk>
Date:   Mon May 13 10:24:18 2013 +0100

    tpaw-utils: move ACCOUNT_WIDGETS_RESOURCES_PREFIX from Empathy
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699492

 libempathy-gtk/empathy-ui-utils.h            |    2 --
 tp-account-widgets/tpaw-irc-network-dialog.c |    1 +
 tp-account-widgets/tpaw-utils.h              |    2 ++
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h
index 22c0899..24ad6a7 100644
--- a/libempathy-gtk/empathy-ui-utils.h
+++ b/libempathy-gtk/empathy-ui-utils.h
@@ -40,8 +40,6 @@
 
 G_BEGIN_DECLS
 
-#define ACCOUNT_WIDGETS_RESOURCES_PREFIX "/org/gnome/AccountWidgets"
-
 #define EMPATHY_RECT_IS_ON_SCREEN(x,y,w,h) ((x) + (w) > 0 && \
               (y) + (h) > 0 && \
               (x) < gdk_screen_width () && \
diff --git a/tp-account-widgets/tpaw-irc-network-dialog.c b/tp-account-widgets/tpaw-irc-network-dialog.c
index 77cc865..e9ab320 100644
--- a/tp-account-widgets/tpaw-irc-network-dialog.c
+++ b/tp-account-widgets/tpaw-irc-network-dialog.c
@@ -25,6 +25,7 @@
 
 #include "empathy-ui-utils.h"
 #include "tpaw-builder.h"
+#include "tpaw-utils.h"
 #include "totem-subtitle-encoding.h"
 
 typedef struct {
diff --git a/tp-account-widgets/tpaw-utils.h b/tp-account-widgets/tpaw-utils.h
index 2b12cfe..d6acfc6 100644
--- a/tp-account-widgets/tpaw-utils.h
+++ b/tp-account-widgets/tpaw-utils.h
@@ -41,6 +41,8 @@ G_BEGIN_DECLS
 
 #define TPAW_STR_EMPTY(s) ((s) == NULL || (s)[0] == '\0')
 
+#define ACCOUNT_WIDGETS_RESOURCES_PREFIX "/org/gnome/AccountWidgets"
+
 void tpaw_connect_new_account (TpAccount *account,
     TpAccountManager *account_manager);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]