[gnome-panel/wip/3.0-freeze-break: 25/32] panel: Remove unneeded use_image field



commit 828c07dee6709dff2986c1cc2067682002318201
Author: Vincent Untz <vuntz gnome org>
Date:   Thu Mar 24 12:44:07 2011 +0100

    panel: Remove unneeded use_image field

 gnome-panel/panel-menu-items.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gnome-panel/panel-menu-items.c b/gnome-panel/panel-menu-items.c
index e2a510d..16cbd95 100644
--- a/gnome-panel/panel-menu-items.c
+++ b/gnome-panel/panel-menu-items.c
@@ -88,15 +88,11 @@ struct _PanelPlaceMenuItemPrivate {
 	gulong       mount_added_id;
 	gulong       mount_changed_id;
 	gulong       mount_removed_id;
-
-	guint        use_image : 1;
 };
 
 struct _PanelDesktopMenuItemPrivate {
 	GtkWidget   *menu;
 	PanelWidget *panel;
-
-	guint        use_image : 1;
 };
 
 static void
@@ -1419,8 +1415,6 @@ panel_place_menu_item_new (gboolean use_image)
 			image,
 			_("Places"));
 
-	menuitem->priv->use_image = use_image;
-
 	menuitem->priv->menu = panel_place_menu_item_create_menu (menuitem);
 	gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem),
 				   menuitem->priv->menu);
@@ -1448,8 +1442,6 @@ panel_desktop_menu_item_new (gboolean use_image,
 			image,
 			_("System"));
 
-	menuitem->priv->use_image = use_image;
-
 	menuitem->priv->menu = panel_desktop_menu_item_create_menu (menuitem,
 								    append_lock_logout);
 	gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem),



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