aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme.h
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-12-29 23:58:47 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-12-29 23:58:47 +0800
commita4004017570744524ff2d0af3efab045821fd46f (patch)
tree9a15f253d9c45a90a8794143ecdd854650d58af1 /libempathy-gtk/empathy-theme.h
parent0cfd80847f0d66967f56c7d6b3eb46793f725859 (diff)
downloadgsoc2013-empathy-a4004017570744524ff2d0af3efab045821fd46f.tar
gsoc2013-empathy-a4004017570744524ff2d0af3efab045821fd46f.tar.gz
gsoc2013-empathy-a4004017570744524ff2d0af3efab045821fd46f.tar.bz2
gsoc2013-empathy-a4004017570744524ff2d0af3efab045821fd46f.tar.lz
gsoc2013-empathy-a4004017570744524ff2d0af3efab045821fd46f.tar.xz
gsoc2013-empathy-a4004017570744524ff2d0af3efab045821fd46f.tar.zst
gsoc2013-empathy-a4004017570744524ff2d0af3efab045821fd46f.zip
Revert "merge git work"
This reverts commit 0cfd80847f0d66967f56c7d6b3eb46793f725859. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@519 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk/empathy-theme.h')
-rw-r--r--libempathy-gtk/empathy-theme.h119
1 files changed, 42 insertions, 77 deletions
diff --git a/libempathy-gtk/empathy-theme.h b/libempathy-gtk/empathy-theme.h
index b05342aa7..34875bcb4 100644
--- a/libempathy-gtk/empathy-theme.h
+++ b/libempathy-gtk/empathy-theme.h
@@ -42,89 +42,54 @@ struct _EmpathyTheme {
GObject parent;
};
-typedef void EmpathyThemeContext;
-
struct _EmpathyThemeClass {
GObjectClass parent_class;
/* <vtable> */
- EmpathyThemeContext * (*setup_with_view) (EmpathyTheme *theme,
- EmpathyChatView *view);
- void (*detach_from_view) (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view);
- void (*view_cleared) (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view);
- void (*append_message) (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view,
- EmpathyMessage *message);
- void (*append_event) (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view,
- const gchar *str);
- void (*append_timestamp) (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view,
- EmpathyMessage *message,
- gboolean show_date,
- gboolean show_time);
- void (*append_spacing) (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view);
- void (*update_show_avatars) (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view,
- gboolean show);
+ void (*update_view) (EmpathyTheme *theme,
+ EmpathyChatView *view);
+ void (*append_message) (EmpathyTheme *theme,
+ EmpathyChatView *view,
+ EmpathyMessage *message);
+ void (*append_event) (EmpathyTheme *theme,
+ EmpathyChatView *view,
+ const gchar *str);
+ void (*append_timestamp) (EmpathyTheme *theme,
+ EmpathyChatView *view,
+ EmpathyMessage *message,
+ gboolean show_date,
+ gboolean show_time);
+ void (*append_spacing) (EmpathyTheme *theme,
+ EmpathyChatView *view);
};
-GType empathy_theme_get_type (void) G_GNUC_CONST;
-
-EmpathyTheme * empathy_theme_new (void);
-
-EmpathyThemeContext *
-empathy_theme_setup_with_view (EmpathyTheme *theme,
- EmpathyChatView *view);
-void empathy_theme_detach_from_view (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view);
-void empathy_theme_view_cleared (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view);
-
-void empathy_theme_append_message (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view,
- EmpathyMessage *msg);
-void empathy_theme_append_text (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view,
- const gchar *body,
- const gchar *tag,
- const gchar *link_tag);
-void empathy_theme_append_spacing (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view);
-void empathy_theme_append_event (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view,
- const gchar *str);
-void empathy_theme_append_timestamp (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view,
- EmpathyMessage *message,
- gboolean show_date,
- gboolean show_time);
-
-void
-empathy_theme_maybe_append_date_and_time (EmpathyTheme *theme,
- EmpathyThemeContext *context,
- EmpathyChatView *view,
- EmpathyMessage *message);
-gboolean empathy_theme_get_show_avatars (EmpathyTheme *theme);
-void empathy_theme_set_show_avatars (EmpathyTheme *theme,
- gboolean show);
+GType empathy_theme_get_type (void) G_GNUC_CONST;
+void empathy_theme_update_view (EmpathyTheme *theme,
+ EmpathyChatView *view);
+void empathy_theme_append_message (EmpathyTheme *theme,
+ EmpathyChatView *view,
+ EmpathyMessage *msg);
+void empathy_theme_append_text (EmpathyTheme *theme,
+ EmpathyChatView *view,
+ const gchar *body,
+ const gchar *tag,
+ const gchar *link_tag);
+void empathy_theme_append_spacing (EmpathyTheme *theme,
+ EmpathyChatView *view);
+void empathy_theme_append_event (EmpathyTheme *theme,
+ EmpathyChatView *view,
+ const gchar *str);
+void empathy_theme_append_timestamp (EmpathyTheme *theme,
+ EmpathyChatView *view,
+ EmpathyMessage *message,
+ gboolean show_date,
+ gboolean show_time);
+void empathy_theme_maybe_append_date_and_time (EmpathyTheme *theme,
+ EmpathyChatView *view,
+ EmpathyMessage *message);
+gboolean empathy_theme_get_show_avatars (EmpathyTheme *theme);
+void empathy_theme_set_show_avatars (EmpathyTheme *theme,
+ gboolean show);
G_END_DECLS