The background colour is not used in completion text rendering

This commit is contained in:
Christian Dywan 2010-09-05 22:25:40 +02:00
parent 0cc46d6285
commit be1a66349f

View file

@ -1065,7 +1065,6 @@ midori_location_entry_render_text_cb (GtkCellLayout* layout,
gchar* uri_escaped; gchar* uri_escaped;
gchar* uri; gchar* uri;
gchar* title; gchar* title;
GdkColor* background;
gboolean style; gboolean style;
gchar* desc; gchar* desc;
gchar* desc_uri; gchar* desc_uri;
@ -1085,7 +1084,7 @@ midori_location_entry_render_text_cb (GtkCellLayout* layout,
size_t offset; size_t offset;
gtk_tree_model_get (model, iter, URI_COL, &uri_escaped, TITLE_COL, &title, gtk_tree_model_get (model, iter, URI_COL, &uri_escaped, TITLE_COL, &title,
BACKGROUND_COL, &background, STYLE_COL, &style, -1); STYLE_COL, &style, -1);
if (style) /* A search engine action */ if (style) /* A search engine action */
{ {