diff options
author | Benjamin Otte <otte@redhat.com> | 2015-07-28 19:21:15 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-07-31 04:03:44 +0200 |
commit | 1261ec985bc856bc9efde4aec7cc68b72ede12d6 (patch) | |
tree | b59afeb5fbc92929d4f3ba9364dd1f2336acff84 | |
parent | 62c43aac4399f60b41efcbf3c824d5d47dc2a652 (diff) | |
download | gtk+-1261ec985bc856bc9efde4aec7cc68b72ede12d6.tar.gz |
combobox: Remove unused variables
-rw-r--r-- | gtk/gtkcombobox.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 3d5545a5b4..3c79f912e7 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -5461,14 +5461,12 @@ gtk_combo_box_get_preferred_height_for_width (GtkWidget *widget, { /* list mode */ gint but_width, but_height; - gint xpad = 0, ypad = 0; gtk_widget_get_preferred_width (priv->button, &but_width, NULL); gtk_widget_get_preferred_height_for_width (priv->button, but_width, &but_height, NULL); size -= but_width; - size -= xpad; /* Get height-for-width of the child widget, usually a GtkCellArea calculating * and fitting the whole treemodel */ @@ -5476,9 +5474,6 @@ gtk_combo_box_get_preferred_height_for_width (GtkWidget *widget, min_height = MAX (min_height, but_height); nat_height = MAX (nat_height, but_height); - - min_height += ypad; - nat_height += ypad; } min_height += padding.top + padding.bottom; |