diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-11 21:10:32 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-11 21:10:32 +0800 |
commit | 3346d34f028b478093817ab18d8c8591e7319dad (patch) | |
tree | 4f1b98a34e7cda55194a22315c8aa07e868be804 /libempathy/empathy-utils.h | |
parent | 0a9b1b97332e50e1b86d29ae836f9e81f2d6ed7d (diff) | |
download | gsoc2013-empathy-3346d34f028b478093817ab18d8c8591e7319dad.tar gsoc2013-empathy-3346d34f028b478093817ab18d8c8591e7319dad.tar.gz gsoc2013-empathy-3346d34f028b478093817ab18d8c8591e7319dad.tar.bz2 gsoc2013-empathy-3346d34f028b478093817ab18d8c8591e7319dad.tar.lz gsoc2013-empathy-3346d34f028b478093817ab18d8c8591e7319dad.tar.xz gsoc2013-empathy-3346d34f028b478093817ab18d8c8591e7319dad.tar.zst gsoc2013-empathy-3346d34f028b478093817ab18d8c8591e7319dad.zip |
Add empathy_run_until_read[_full] functions
svn path=/trunk/; revision=892
Diffstat (limited to 'libempathy/empathy-utils.h')
-rw-r--r-- | libempathy/empathy-utils.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h index 834935ef2..b8da4a063 100644 --- a/libempathy/empathy-utils.h +++ b/libempathy/empathy-utils.h @@ -99,6 +99,16 @@ const gchar * empathy_presence_to_str (McPresence presence); McPresence empathy_presence_from_str (const gchar *str); gchar * empathy_file_lookup (const gchar *filename, const gchar *subdir); + +typedef gboolean (*EmpathyRunUntilReadyFunc) (GObject *object, + gpointer user_data); +void empathy_run_until_ready (gpointer object); +void empathy_run_until_ready_full (gpointer object, + const gchar *signal, + EmpathyRunUntilReadyFunc func, + gpointer user_data, + GMainLoop **loop); + G_END_DECLS #endif /* __EMPATHY_UTILS_H__ */ |