diff options
author | Shaun McCance <shaunm@gnome.org> | 2014-06-16 16:35:04 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2014-06-16 16:35:04 -0400 |
commit | c2120c4c0b4c4cb2afa874b27d2987e280706eca (patch) | |
tree | 9b84666ecc7a84624fb2c4379cacb132fbfae4c3 | |
parent | 207b7c641c7da7b21c37abb24cc8fd57b27b85dc (diff) | |
download | yelp-c2120c4c0b4c4cb2afa874b27d2987e280706eca.tar.gz |
Fix reference to old, unused struct member
-rw-r--r-- | libyelp/yelp-search-entry.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libyelp/yelp-search-entry.c b/libyelp/yelp-search-entry.c index d8908e60..784ed824 100644 --- a/libyelp/yelp-search-entry.c +++ b/libyelp/yelp-search-entry.c @@ -93,7 +93,6 @@ struct _YelpSearchEntryPrivate gchar *completion_uri; /* do not free below */ - GtkCellRenderer *icon_cell; GtkEntryCompletion *completion; }; @@ -366,7 +365,7 @@ search_entry_set_completion (YelpSearchEntry *entry, g_list_free (cells); icon_cell = gtk_cell_renderer_pixbuf_new (); - g_object_set (priv->icon_cell, "yalign", 0.2, NULL); + g_object_set (icon_cell, "yalign", 0.2, NULL); gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (priv->completion), icon_cell, FALSE); gtk_cell_layout_reorder (GTK_CELL_LAYOUT (priv->completion), icon_cell, 0); gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (priv->completion), |