mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 18:00:09 +00:00
Fix tests
This commit is contained in:
parent
908915c9da
commit
de1b75aabb
@ -6692,6 +6692,9 @@ gtk_entry_set_buffer (GtkEntry *entry,
|
||||
{
|
||||
buffer_connect_signals (entry);
|
||||
|
||||
gtk_editable_set_position (GTK_EDITABLE (entry), 0);
|
||||
gtk_entry_recompute (entry);
|
||||
|
||||
/* COMPAT: Deprecated. Not used. Setting these fields no longer necessary in GTK 3.x */
|
||||
entry->text = (char*)gtk_entry_buffer_get_text (priv->buffer);
|
||||
entry->text_length = gtk_entry_buffer_get_length (priv->buffer);
|
||||
@ -6708,9 +6711,6 @@ gtk_entry_set_buffer (GtkEntry *entry,
|
||||
g_object_notify (obj, "invisible-char");
|
||||
g_object_notify (obj, "invisible-char-set");
|
||||
g_object_thaw_notify (obj);
|
||||
|
||||
gtk_editable_set_position (GTK_EDITABLE (entry), 0);
|
||||
gtk_entry_recompute (entry);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user