[gnome-photos] selection-toolbar: Drop redundant gtk_widget_show_all's



commit 9608052fb4e40656815b85bf7590ace00472a85c
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Aug 14 17:45:30 2012 +0200

    selection-toolbar: Drop redundant gtk_widget_show_all's

 src/photos-selection-toolbar.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-selection-toolbar.c b/src/photos-selection-toolbar.c
index e0c44d5..8edfc4b 100644
--- a/src/photos-selection-toolbar.c
+++ b/src/photos-selection-toolbar.c
@@ -454,7 +454,6 @@ photos_selection_toolbar_init (PhotosSelectionToolbar *self)
   priv->left_group = gtk_tool_item_new ();
   gtk_container_add (GTK_CONTAINER (priv->left_group), priv->left_box);
   gtk_toolbar_insert (GTK_TOOLBAR (priv->widget), priv->left_group, -1);
-  gtk_widget_show_all (GTK_WIDGET (priv->left_group));
 
   priv->toolbar_favorite = gtk_toggle_button_new ();
   image = gtk_image_new_from_icon_name ("emblem-favorite-symbolic", GTK_ICON_SIZE_INVALID);
@@ -487,7 +486,6 @@ photos_selection_toolbar_init (PhotosSelectionToolbar *self)
   priv->right_group = gtk_tool_item_new ();
   gtk_container_add (GTK_CONTAINER (priv->right_group), priv->right_box);
   gtk_toolbar_insert (GTK_TOOLBAR (priv->widget), priv->right_group, -1);
-  gtk_widget_show_all (GTK_WIDGET (priv->right_group));
 
   priv->toolbar_collection = gtk_button_new ();
   image = gtk_image_new_from_icon_name ("list-add-symbolic", GTK_ICON_SIZE_INVALID);



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