From 6c44efe38a69872608ee31954de846aab1a691f2 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 19 Apr 2004 20:17:51 +0000 Subject: Removed variables that got re-added with the icon-theme patch somehow. 2004-04-19 Jeffrey Stedfast * em-composer-prefs.h: Removed variables that got re-added with the icon-theme patch somehow. * em-account-prefs.c: Don't bother keeping global references to the enable_pixbuf anymore, since it's unnecessary. svn path=/trunk/; revision=25523 --- mail/em-account-prefs.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'mail/em-account-prefs.c') diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c index 988a6ab216..35f27ec161 100644 --- a/mail/em-account-prefs.c +++ b/mail/em-account-prefs.c @@ -48,8 +48,6 @@ static void em_account_prefs_destroy (GtkObject *object); static void mail_accounts_load (EMAccountPrefs *prefs); -static GdkPixbuf *disabled_pixbuf = NULL; -static GdkPixbuf *enabled_pixbuf = NULL; static GtkVBoxClass *parent_class = NULL; @@ -90,10 +88,6 @@ em_account_prefs_class_init (EMAccountPrefsClass *klass) gtk_object_class->destroy = em_account_prefs_destroy; object_class->finalize = em_account_prefs_finalise; - - /* setup static data */ - disabled_pixbuf = NULL; - enabled_pixbuf = e_icon_factory_get_icon ("stock_mark", 16); } static void @@ -102,7 +96,7 @@ em_account_prefs_init (EMAccountPrefs *prefs) prefs->druid = NULL; prefs->editor = NULL; - prefs->mark_pixbuf = g_object_ref (enabled_pixbuf); + prefs->mark_pixbuf = e_icon_factory_get_icon ("stock_mark", 16); } static void -- cgit v1.2.3