diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-02 16:52:46 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-02 16:54:49 +0800 |
commit | 193da58c9a4d7f6fc9ecb17b1d09c3a8fff56cdd (patch) | |
tree | d7735419598c69d10be420fe4e8da87ee7b39389 | |
parent | 2daf6b4066dbde6fdcaa3aee6d85d67f3353bfac (diff) | |
download | gsoc2013-empathy-193da58c9a4d7f6fc9ecb17b1d09c3a8fff56cdd.tar gsoc2013-empathy-193da58c9a4d7f6fc9ecb17b1d09c3a8fff56cdd.tar.gz gsoc2013-empathy-193da58c9a4d7f6fc9ecb17b1d09c3a8fff56cdd.tar.bz2 gsoc2013-empathy-193da58c9a4d7f6fc9ecb17b1d09c3a8fff56cdd.tar.lz gsoc2013-empathy-193da58c9a4d7f6fc9ecb17b1d09c3a8fff56cdd.tar.xz gsoc2013-empathy-193da58c9a4d7f6fc9ecb17b1d09c3a8fff56cdd.tar.zst gsoc2013-empathy-193da58c9a4d7f6fc9ecb17b1d09c3a8fff56cdd.zip |
theme-manager: remove useless code
None of this is still used.
-rw-r--r-- | libempathy-gtk/empathy-theme-manager.c | 16 | ||||
-rw-r--r-- | libempathy-gtk/empathy-theme-manager.h | 1 |
2 files changed, 0 insertions, 17 deletions
diff --git a/libempathy-gtk/empathy-theme-manager.c b/libempathy-gtk/empathy-theme-manager.c index 7d0ebfa93..4635ed60d 100644 --- a/libempathy-gtk/empathy-theme-manager.c +++ b/libempathy-gtk/empathy-theme-manager.c @@ -45,8 +45,6 @@ #define GET_PRIV(obj) EMPATHY_GET_PRIV (obj, EmpathyThemeManager) typedef struct { GSettings *gsettings_chat; - GtkSettings *settings; - GList *boxes_views; guint emit_changed_idle; gboolean in_constructor; @@ -116,18 +114,6 @@ clear_list_of_views (GList **views) } } -#if 0 -static void -theme_manager_gdk_color_to_hex (GdkColor *gdk_color, gchar *str_color) -{ - g_snprintf (str_color, 10, - "#%02x%02x%02x", - gdk_color->red >> 8, - gdk_color->green >> 8, - gdk_color->blue >> 8); -} -#endif - static EmpathyThemeAdium * theme_manager_create_adium_view (EmpathyThemeManager *manager) { @@ -236,8 +222,6 @@ theme_manager_finalize (GObject *object) g_source_remove (priv->emit_changed_idle); } - clear_list_of_views (&priv->boxes_views); - clear_list_of_views (&priv->adium_views); g_free (priv->adium_variant); tp_clear_pointer (&priv->adium_data, empathy_adium_data_unref); diff --git a/libempathy-gtk/empathy-theme-manager.h b/libempathy-gtk/empathy-theme-manager.h index 4d5194570..6e6672886 100644 --- a/libempathy-gtk/empathy-theme-manager.h +++ b/libempathy-gtk/empathy-theme-manager.h @@ -50,7 +50,6 @@ struct _EmpathyThemeManagerClass { GType empathy_theme_manager_get_type (void) G_GNUC_CONST; EmpathyThemeManager * empathy_theme_manager_dup_singleton (void); -const gchar ** empathy_theme_manager_get_themes (void); GList * empathy_theme_manager_get_adium_themes (void); EmpathyChatView * empathy_theme_manager_create_view (EmpathyThemeManager *manager); gchar * empathy_theme_manager_find_theme (const gchar *name); |