diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-16 23:32:35 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-16 23:32:35 +0800 |
commit | 2dc2f7e32f57720023b6c888146e8a09d850972a (patch) | |
tree | 27887abde0c0d34c07316cbef1495a7322809fbb /libempathy-gtk/empathy-chat-view.c | |
parent | b2dd9b77af7f4bbc610de71706028dc2b5181c2a (diff) | |
download | gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar.gz gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar.bz2 gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar.lz gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar.xz gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar.zst gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.zip |
Rename BlockType to EMPATHY_CHAT_VIEW_BLOCK to respect namespace
svn path=/trunk/; revision=563
Diffstat (limited to 'libempathy-gtk/empathy-chat-view.c')
-rw-r--r-- | libempathy-gtk/empathy-chat-view.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libempathy-gtk/empathy-chat-view.c b/libempathy-gtk/empathy-chat-view.c index c7428e9df..d6c85606f 100644 --- a/libempathy-gtk/empathy-chat-view.c +++ b/libempathy-gtk/empathy-chat-view.c @@ -70,7 +70,7 @@ struct _EmpathyChatViewPriv { EmpathyTheme *theme; time_t last_timestamp; - BlockType last_block_type; + EmpathyChatViewBlock last_block_type; gboolean allow_scrolling; guint scroll_timeout; @@ -158,7 +158,7 @@ empathy_chat_view_init (EmpathyChatView *view) priv->buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); - priv->last_block_type = BLOCK_TYPE_NONE; + priv->last_block_type = EMPATHY_CHAT_VIEW_BLOCK_NONE; priv->last_timestamp = 0; priv->allow_scrolling = TRUE; @@ -638,7 +638,7 @@ chat_view_theme_changed_cb (EmpathyThemeManager *manager, priv = GET_PRIV (view); - priv->last_block_type = BLOCK_TYPE_NONE; + priv->last_block_type = EMPATHY_CHAT_VIEW_BLOCK_NONE; empathy_conf_get_bool (empathy_conf_get (), EMPATHY_PREFS_CHAT_THEME_CHAT_ROOM, @@ -821,7 +821,7 @@ empathy_chat_view_append_event (EmpathyChatView *view, empathy_chat_view_scroll_down (view); } - priv->last_block_type = BLOCK_TYPE_EVENT; + priv->last_block_type = EMPATHY_CHAT_VIEW_BLOCK_EVENT; } void @@ -891,7 +891,7 @@ empathy_chat_view_append_button (EmpathyChatView *view, empathy_chat_view_scroll_down (view); } - priv->last_block_type = BLOCK_TYPE_INVITE; + priv->last_block_type = EMPATHY_CHAT_VIEW_BLOCK_INVITE; } void @@ -996,7 +996,7 @@ empathy_chat_view_clear (EmpathyChatView *view) */ priv = GET_PRIV (view); - priv->last_block_type = BLOCK_TYPE_NONE; + priv->last_block_type = EMPATHY_CHAT_VIEW_BLOCK_NONE; priv->last_timestamp = 0; } @@ -1512,7 +1512,7 @@ empathy_chat_view_set_last_timestamp (EmpathyChatView *view, priv->last_timestamp = timestamp; } -BlockType +EmpathyChatViewBlock empathy_chat_view_get_last_block_type (EmpathyChatView *view) { EmpathyChatViewPriv *priv; @@ -1525,8 +1525,8 @@ empathy_chat_view_get_last_block_type (EmpathyChatView *view) } void -empathy_chat_view_set_last_block_type (EmpathyChatView *view, - BlockType block_type) +empathy_chat_view_set_last_block_type (EmpathyChatView *view, + EmpathyChatViewBlock block_type) { EmpathyChatViewPriv *priv; |