[gtk] imwayland: Fix parent type



commit b49c6cdcb1f6673744c5778638857b18a45f0500
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Mar 5 18:51:00 2018 +0100

    imwayland: Fix parent type
    
    It was inadvertently changed in commit 15cc20e7b.
    
    https://gitlab.gnome.org/GNOME/gtk/issues/58
    
    Closes: #58

 gtk/gtkimcontextwayland.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkimcontextwayland.c b/gtk/gtkimcontextwayland.c
index 698954c44d..be1159b094 100644
--- a/gtk/gtkimcontextwayland.c
+++ b/gtk/gtkimcontextwayland.c
@@ -70,7 +70,7 @@ struct _GtkIMContextWayland
   guint use_preedit : 1;
 };
 
-G_DEFINE_TYPE_WITH_CODE (GtkIMContextWayland, gtk_im_context_wayland, GTK_TYPE_IM_CONTEXT,
+G_DEFINE_TYPE_WITH_CODE (GtkIMContextWayland, gtk_im_context_wayland, GTK_TYPE_IM_CONTEXT_SIMPLE,
                          g_io_extension_point_implement (GTK_IM_MODULE_EXTENSION_POINT_NAME,
                                                          g_define_type_id,
                                                          "wayland",


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