[empathy] EmpathyThemeAdium inherit from WebkitWebView and not GtkTextView.



commit 8ae92f733e7177326ca24b80307b4c3ffcde94d5
Author: Xavier Claessens <xclaesse gmail com>
Date:   Tue Jul 15 21:11:58 2008 +0200

    EmpathyThemeAdium inherit from WebkitWebView and not GtkTextView.

 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 6173380..221cf21 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]