[yocto] [matchbox-desktop-2][PATCH 05/16] taku-category-bar: don't try to make the arrows square
Jussi Kukkonen
jussi.kukkonen at intel.com
Thu Apr 28 06:02:58 PDT 2016
From: Ross Burton <ross.burton at intel.com>
---
src/taku-category-bar.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/taku-category-bar.c b/src/taku-category-bar.c
index 765c713..e5c5533 100644
--- a/src/taku-category-bar.c
+++ b/src/taku-category-bar.c
@@ -66,15 +66,6 @@ make_bold (GtkLabel *label)
gtk_label_set_attributes (label, list);
}
-/* Make sure arrows request a square amount of space */
-static void
-arrow_size_request (GtkWidget *widget,
- GtkRequisition *requisition,
- gpointer user_data)
-{
- requisition->width = requisition->height;
-}
-
/* Changes the current category: Updates the switcher label and table filter */
static void
set_category (TakuCategoryBar *bar, GList *category_list_item)
@@ -245,7 +236,6 @@ taku_category_bar_init (TakuCategoryBar *bar)
gtk_box_pack_start (GTK_BOX (bar), button, FALSE, TRUE, 0);
arrow = gtk_arrow_new (GTK_ARROW_LEFT, GTK_SHADOW_NONE);
- g_signal_connect (arrow, "size-request", G_CALLBACK (arrow_size_request), NULL);
gtk_widget_show (arrow);
gtk_container_add (GTK_CONTAINER (button), arrow);
gtk_size_group_add_widget (size_group, arrow);
@@ -278,7 +268,6 @@ taku_category_bar_init (TakuCategoryBar *bar)
gtk_box_pack_end (GTK_BOX (bar), button, FALSE, TRUE, 0);
arrow = gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_NONE);
- g_signal_connect (arrow, "size-request", G_CALLBACK (arrow_size_request), NULL);
gtk_widget_show (arrow);
gtk_container_add (GTK_CONTAINER (button), arrow);
gtk_size_group_add_widget (size_group, arrow);
--
2.8.1
More information about the yocto
mailing list