[empathy] Port to new API



commit 5600490e9edda705b4b58720433b476c0d744115
Author: Xavier Claessens <xclaesse gmail com>
Date:   Fri Feb 20 18:14:24 2009 +0100

    Port to new API

 libempathy-gtk/empathy-theme-adium.c |    2 +-
 src/empathy-preferences.c            |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index b1da87b..b11bfa9 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -752,7 +752,7 @@ empathy_theme_adium_init (EmpathyThemeAdium *theme)
 
 	theme->priv = priv;	
 
-	priv->smiley_manager = empathy_smiley_manager_new ();
+	priv->smiley_manager = empathy_smiley_manager_dup_singleton ();
 
 	g_signal_connect (theme, "load-finished",
 			  G_CALLBACK (theme_adium_load_finished_cb),
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c
index b74c85c..4c88db6 100644
--- a/src/empathy-preferences.c
+++ b/src/empathy-preferences.c
@@ -974,7 +974,7 @@ preferences_theme_adium_path_notify_cb (EmpathyConf *conf,
 		return;
 	}
 
-	if (G_STR_EMPTY (value)) {
+	if (EMP_STR_EMPTY (value)) {
 		path = g_get_home_dir ();
 	} else {
 		path = value;



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