mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
> - parent_class = gtk_type_class (gtk_widget_get_type ());
> + parent_class = gtk_type_class (gtk_editable_get_type ());
This commit is contained in:
parent
afe08d63e3
commit
60870d3407
@ -210,7 +210,7 @@ gtk_entry_class_init (GtkEntryClass *class)
|
||||
widget_class = (GtkWidgetClass*) class;
|
||||
editable_class = (GtkEditableClass*) class;
|
||||
|
||||
parent_class = gtk_type_class (gtk_widget_get_type ());
|
||||
parent_class = gtk_type_class (gtk_editable_get_type ());
|
||||
|
||||
entry_signals[ACTIVATE] =
|
||||
gtk_signal_new ("activate",
|
||||
|
@ -441,7 +441,7 @@ gtk_text_class_init (GtkTextClass *class)
|
||||
widget_class = (GtkWidgetClass*) class;
|
||||
editable_class = (GtkEditableClass*) class;
|
||||
|
||||
parent_class = gtk_type_class (gtk_widget_get_type ());
|
||||
parent_class = gtk_type_class (gtk_editable_get_type ());
|
||||
|
||||
object_class->finalize = gtk_text_finalize;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user