]> git.0d.be Git - empathy.git/commitdiff
EmpathyThemeAdium inherit from WebkitWebView and not GtkTextView.
authorXavier Claessens <xclaesse@gmail.com>
Tue, 15 Jul 2008 19:11:58 +0000 (21:11 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Thu, 11 Jun 2009 16:06:27 +0000 (18:06 +0200)
libempathy-gtk/empathy-theme-adium.c

index 61733802e17dca330870a27b13410a07bafb1168..221cf21dba5614dce1cdd6ee621b464e012e0c37 100644 (file)
@@ -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