aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Barisione <marco.barisione@collabora.co.uk>2013-05-13 17:24:18 +0800
committerMarco Barisione <marco.barisione@collabora.co.uk>2013-08-20 18:03:07 +0800
commit912b898b3ebc2bc096394686a10db1beae648e48 (patch)
tree101f7cc8690d78f73eea9b76187a1ed1eae8b586
parent70373899543768fd84a43b5cd777a986bfb4d156 (diff)
downloadgsoc2013-empathy-912b898b3ebc2bc096394686a10db1beae648e48.tar
gsoc2013-empathy-912b898b3ebc2bc096394686a10db1beae648e48.tar.gz
gsoc2013-empathy-912b898b3ebc2bc096394686a10db1beae648e48.tar.bz2
gsoc2013-empathy-912b898b3ebc2bc096394686a10db1beae648e48.tar.lz
gsoc2013-empathy-912b898b3ebc2bc096394686a10db1beae648e48.tar.xz
gsoc2013-empathy-912b898b3ebc2bc096394686a10db1beae648e48.tar.zst
gsoc2013-empathy-912b898b3ebc2bc096394686a10db1beae648e48.zip
tpaw-utils: move ACCOUNT_WIDGETS_RESOURCES_PREFIX from Empathy
https://bugzilla.gnome.org/show_bug.cgi?id=699492
-rw-r--r--libempathy-gtk/empathy-ui-utils.h2
-rw-r--r--tp-account-widgets/tpaw-irc-network-dialog.c1
-rw-r--r--tp-account-widgets/tpaw-utils.h2
3 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h
index 22c0899cb..24ad6a717 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 77cc86589..e9ab32091 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 2b12cfeca..d6acfc6e1 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);