From 8ae92f733e7177326ca24b80307b4c3ffcde94d5 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 15 Jul 2008 21:11:58 +0200 Subject: [PATCH] EmpathyThemeAdium inherit from WebkitWebView and not GtkTextView. --- libempathy-gtk/empathy-theme-adium.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 61733802..221cf21d 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 -- 2.39.2