[empathy] theme-manager: remove useless code
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] theme-manager: remove useless code
- Date: Mon, 2 Jul 2012 12:14:13 +0000 (UTC)
commit 193da58c9a4d7f6fc9ecb17b1d09c3a8fff56cdd
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Jul 2 10:52:46 2012 +0200
theme-manager: remove useless code
None of this is still used.
libempathy-gtk/empathy-theme-manager.c | 16 ----------------
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 7d0ebfa..4635ed6 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 4d51945..6e66728 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]