aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-08-02 19:27:13 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-08-02 19:27:13 +0800
commit48fd13dde6d5bee784a2ae32fde6a0664597b820 (patch)
treec0f98cae92495a5f5c2bcc2906f055aa07d87e7e /libempathy/empathy-utils.h
parent6796f373b5b2a157351a2e36c06732ba4332a463 (diff)
downloadgsoc2013-empathy-48fd13dde6d5bee784a2ae32fde6a0664597b820.tar
gsoc2013-empathy-48fd13dde6d5bee784a2ae32fde6a0664597b820.tar.gz
gsoc2013-empathy-48fd13dde6d5bee784a2ae32fde6a0664597b820.tar.bz2
gsoc2013-empathy-48fd13dde6d5bee784a2ae32fde6a0664597b820.tar.lz
gsoc2013-empathy-48fd13dde6d5bee784a2ae32fde6a0664597b820.tar.xz
gsoc2013-empathy-48fd13dde6d5bee784a2ae32fde6a0664597b820.tar.zst
gsoc2013-empathy-48fd13dde6d5bee784a2ae32fde6a0664597b820.zip
Adding new empathy_strdiff API stolen from telepathy-glib. It check if
2007-08-02 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-accounts-dialog.c: * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: Adding new empathy_strdiff API stolen from telepathy-glib. It check if strings are != NULL before using strcmp. Using that API to fix bug #461886. Should be used in more places. svn path=/trunk/; revision=224
Diffstat (limited to 'libempathy/empathy-utils.h')
-rw-r--r--libempathy/empathy-utils.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h
index da56174bd..5669d33d1 100644
--- a/libempathy/empathy-utils.h
+++ b/libempathy/empathy-utils.h
@@ -78,16 +78,7 @@ xmlNodePtr empathy_xml_node_find_child_prop_value (xmlNodePtr node,
const gchar *prop_name,
const gchar *prop_value);
-
-/* GValue/GType */
-GType empathy_dbus_type_to_g_type (const gchar *dbus_type_string);
-const gchar *empathy_g_type_to_dbus_type (GType g_type);
-gchar * empathy_g_value_to_string (const GValue *value);
-GValue * empathy_string_to_g_value (const gchar *str,
- GType type);
-gboolean empathy_g_value_equal (const GValue *value1,
- const GValue *value2);
-
+/* Others */
guint empathy_account_hash (gconstpointer key);
gboolean empathy_account_equal (gconstpointer a,
gconstpointer b);
@@ -97,7 +88,8 @@ gchar * empathy_inspect_handle (McAccount *account,
guint handle_type);
gchar * empathy_inspect_channel (McAccount *account,
TpChan *tp_chan);
-
+gboolean empathy_strdiff (const gchar *left,
+ const gchar *right);
G_END_DECLS
#endif /* __EMPATHY_UTILS_H__ */