From 417a0425a90041d078047c446e9a9a78d6d9576b Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 2 Apr 2008 09:41:36 +0000 Subject: Remove vtable and add info as properties. Reorder empathy-chat.c to not declare func on top. svn path=/trunk/; revision=835 --- libempathy-gtk/empathy-chat.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'libempathy-gtk/empathy-chat.h') diff --git a/libempathy-gtk/empathy-chat.h b/libempathy-gtk/empathy-chat.h index aa5c3f1b3..113c285e0 100644 --- a/libempathy-gtk/empathy-chat.h +++ b/libempathy-gtk/empathy-chat.h @@ -61,17 +61,6 @@ struct _EmpathyChat { struct _EmpathyChatClass { GObjectClass parent; - - /* VTable */ - const gchar * (*get_name) (EmpathyChat *chat); - gchar * (*get_tooltip) (EmpathyChat *chat); - const gchar * (*get_status_icon_name)(EmpathyChat *chat); - GtkWidget * (*get_widget) (EmpathyChat *chat); - gboolean (*is_group_chat) (EmpathyChat *chat); - void (*set_tp_chat) (EmpathyChat *chat, - EmpathyTpChat *tp_chat); - gboolean (*key_press_event) (EmpathyChat *chat, - GdkEventKey *event); }; GType empathy_chat_get_type (void); @@ -83,10 +72,9 @@ void empathy_chat_cut (EmpathyChat *chat); void empathy_chat_copy (EmpathyChat *chat); void empathy_chat_paste (EmpathyChat *chat); const gchar * empathy_chat_get_name (EmpathyChat *chat); -gchar * empathy_chat_get_tooltip (EmpathyChat *chat); +const gchar * empathy_chat_get_tooltip (EmpathyChat *chat); const gchar * empathy_chat_get_status_icon_name (EmpathyChat *chat); GtkWidget * empathy_chat_get_widget (EmpathyChat *chat); -gboolean empathy_chat_is_group_chat (EmpathyChat *chat); gboolean empathy_chat_is_connected (EmpathyChat *chat); void empathy_chat_save_geometry (EmpathyChat *chat, gint x, -- cgit v1.2.3