[libgd] GdStackSwitcher: reset size request for image buttons



commit 6bcecf53ab1abfef4239ca7d26ea6e5fd1943706
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Feb 25 21:56:43 2013 +0100

    GdStackSwitcher: reset size request for image buttons

 libgd/gd-stack-switcher.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgd/gd-stack-switcher.c b/libgd/gd-stack-switcher.c
index 015ca33..ac63c89 100644
--- a/libgd/gd-stack-switcher.c
+++ b/libgd/gd-stack-switcher.c
@@ -92,6 +92,7 @@ update_button (GdStackSwitcher *self,
     {
       if (button_child != NULL && !GTK_IS_IMAGE (button_child))
         {
+          gtk_widget_set_size_request (button, -1, -1);
           gtk_widget_destroy (button_child);
           button_child = NULL;
         }


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