[yelp/new-aday-design] Fix reference to old, unused struct member
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp/new-aday-design] Fix reference to old, unused struct member
- Date: Mon, 16 Jun 2014 20:52:18 +0000 (UTC)
commit c2120c4c0b4c4cb2afa874b27d2987e280706eca
Author: Shaun McCance <shaunm gnome org>
Date: Mon Jun 16 16:35:04 2014 -0400
Fix reference to old, unused struct member
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 d8908e6..784ed82 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),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]