--- gtksourcecompletion.c.orig 2011-08-22 13:05:01.951403102 -0400 +++ gtksourcecompletion.c 2011-08-22 13:07:32.858406690 -0400 @@ -1176,8 +1176,6 @@ gint cwidth; GtkTreeView *tv; gint xpad; - gint separator; - GtkStyle *style; gint icon_width; gint icon_height; @@ -1188,14 +1186,8 @@ "xpad", &xpad, NULL); - style = gtk_widget_get_style (completion->priv->tree_view_proposals); - gtk_style_get (style, - GTK_TYPE_TREE_VIEW, - "horizontal-separator", &separator, - NULL); - cwidth = measure_accelerator_width (completion->priv->tree_view_proposals); - cwidth += (xpad + separator) * 2; + cwidth += xpad * 2; } else { @@ -2835,19 +2827,9 @@ GtkStyle *previous_style, GtkSourceCompletion *completion) { - gint spacing; GtkSettings *settings; gboolean show_image; - gtk_style_get (gtk_widget_get_style (button), - GTK_TYPE_BUTTON, - "image-spacing", - &spacing, - NULL); - - gtk_box_set_spacing (GTK_BOX (completion->priv->hbox_info), - spacing); - settings = gtk_widget_get_settings (button); g_object_get (settings, "gtk-button-images",