[gtk/wip/matthiasc/emoji-picker] Fixup: the priv pointer is gone



commit f6cf01c96be13ff463503e603717e74abe96f735
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Apr 15 19:43:47 2018 -0400

    Fixup: the priv pointer is gone

 gtk/gtkentry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 906cd5af3d..62b17a8028 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -9609,7 +9609,7 @@ static void
 set_enable_emoji_completion (GtkEntry *entry,
                              gboolean  value)
 {
-  GtkEntryPrivate *priv = entry->priv;
+  GtkEntryPrivate *priv = gtk_entry_get_instance_private (entry);
 
   if (priv->enable_emoji_completion == value)
     return;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]