[libgd] tagged_entry: use priv variable
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd] tagged_entry: use priv variable
- Date: Tue, 6 Aug 2013 09:59:06 +0000 (UTC)
commit ccbb91cd0725e60cfeceadad56be520a53e91bd4
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date: Tue Aug 6 11:58:31 2013 +0200
tagged_entry: use priv variable
libgd/gd-tagged-entry.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgd/gd-tagged-entry.c b/libgd/gd-tagged-entry.c
index 93b2675..eee2fe1 100644
--- a/libgd/gd-tagged-entry.c
+++ b/libgd/gd-tagged-entry.c
@@ -1102,14 +1102,14 @@ gd_tagged_entry_tag_set_has_close_button (GdTaggedEntryTag *tag,
priv = tag->priv;
has_close_button = has_close_button != FALSE;
- if (tag->priv->has_close_button != has_close_button)
+ if (priv->has_close_button != has_close_button)
{
GtkWidget *entry;
- tag->priv->has_close_button = has_close_button;
- g_clear_object (&tag->priv->layout);
+ priv->has_close_button = has_close_button;
+ g_clear_object (&priv->layout);
- entry = GTK_WIDGET (tag->priv->entry);
+ entry = GTK_WIDGET (priv->entry);
if (entry)
gtk_widget_queue_resize (entry);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]