diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2008-07-16 03:11:58 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-06-12 00:06:27 +0800 |
commit | 8ae92f733e7177326ca24b80307b4c3ffcde94d5 (patch) | |
tree | f8af342636953f6dbd7d65cb87d0e98cd51181f8 /libempathy-gtk | |
parent | 06563d5df6dfbb129f80d3088448abda0fb245b3 (diff) | |
download | gsoc2013-empathy-8ae92f733e7177326ca24b80307b4c3ffcde94d5.tar gsoc2013-empathy-8ae92f733e7177326ca24b80307b4c3ffcde94d5.tar.gz gsoc2013-empathy-8ae92f733e7177326ca24b80307b4c3ffcde94d5.tar.bz2 gsoc2013-empathy-8ae92f733e7177326ca24b80307b4c3ffcde94d5.tar.lz gsoc2013-empathy-8ae92f733e7177326ca24b80307b4c3ffcde94d5.tar.xz gsoc2013-empathy-8ae92f733e7177326ca24b80307b4c3ffcde94d5.tar.zst gsoc2013-empathy-8ae92f733e7177326ca24b80307b4c3ffcde94d5.zip |
EmpathyThemeAdium inherit from WebkitWebView and not GtkTextView.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 61733802e..221cf21db 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -35,7 +35,7 @@ typedef struct { static void theme_adium_iface_init (EmpathyChatViewIface *iface); G_DEFINE_TYPE_WITH_CODE (EmpathyThemeAdium, empathy_theme_adium, - GTK_TYPE_TEXT_VIEW, + WEBKIT_TYPE_WEB_VIEW, G_IMPLEMENT_INTERFACE (EMPATHY_TYPE_CHAT_VIEW, theme_adium_iface_init)); @@ -56,12 +56,12 @@ empathy_theme_adium_class_init (EmpathyThemeAdiumClass *klass) } static void -empathy_theme_adium_init (EmpathyThemeAdium *view) +empathy_theme_adium_init (EmpathyThemeAdium *theme) { - EmpathyThemeAdiumPriv *priv = G_TYPE_INSTANCE_GET_PRIVATE (view, + EmpathyThemeAdiumPriv *priv = G_TYPE_INSTANCE_GET_PRIVATE (theme, EMPATHY_TYPE_THEME_ADIUM, EmpathyThemeAdiumPriv); - view->priv = priv; + theme->priv = priv; } static void |