aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-smiley-manager.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-12-16 17:24:11 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-12-16 17:24:11 +0800
commit4782781b30c2884f07a7451da03eca3244c62b6f (patch)
treea13371defb894b023bf9d2bdfdffd60c345abf7c /libempathy-gtk/empathy-smiley-manager.h
parent92e2f7b40ef560f2bc35c5da887c0c3967b24ba5 (diff)
downloadgsoc2013-empathy-4782781b30c2884f07a7451da03eca3244c62b6f.tar
gsoc2013-empathy-4782781b30c2884f07a7451da03eca3244c62b6f.tar.gz
gsoc2013-empathy-4782781b30c2884f07a7451da03eca3244c62b6f.tar.bz2
gsoc2013-empathy-4782781b30c2884f07a7451da03eca3244c62b6f.tar.lz
gsoc2013-empathy-4782781b30c2884f07a7451da03eca3244c62b6f.tar.xz
gsoc2013-empathy-4782781b30c2884f07a7451da03eca3244c62b6f.tar.zst
gsoc2013-empathy-4782781b30c2884f07a7451da03eca3244c62b6f.zip
Move the smiley menu code from EmpathyChatView to EmpathyChatManager.
svn path=/trunk/; revision=1986
Diffstat (limited to 'libempathy-gtk/empathy-smiley-manager.h')
-rw-r--r--libempathy-gtk/empathy-smiley-manager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-smiley-manager.h b/libempathy-gtk/empathy-smiley-manager.h
index 394215ed6..c73675742 100644
--- a/libempathy-gtk/empathy-smiley-manager.h
+++ b/libempathy-gtk/empathy-smiley-manager.h
@@ -52,6 +52,10 @@ typedef struct {
gchar *str;
} EmpathySmiley;
+typedef void (*EmpathySmileyMenuFunc) (EmpathySmileyManager *manager,
+ EmpathySmiley *smiley,
+ gpointer user_data);
+
GType empathy_smiley_manager_get_type (void) G_GNUC_CONST;
EmpathySmileyManager *empathy_smiley_manager_new (void);
void empathy_smiley_manager_load (EmpathySmileyManager *manager);
@@ -66,6 +70,9 @@ void empathy_smiley_manager_add_from_pixbuf (EmpathySmileyManag
GSList * empathy_smiley_manager_get_all (EmpathySmileyManager *manager);
GSList * empathy_smiley_manager_parse (EmpathySmileyManager *manager,
const gchar *text);
+GtkWidget * empathy_smiley_menu_new (EmpathySmileyManager *manager,
+ EmpathySmileyMenuFunc func,
+ gpointer user_data);
void empathy_smiley_free (EmpathySmiley *smiley);
G_END_DECLS