[libgd] GdStackSwitcher: reset size request for image buttons
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd] GdStackSwitcher: reset size request for image buttons
- Date: Mon, 25 Feb 2013 20:57:23 +0000 (UTC)
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]