forked from AuroraMiddleware/gtk
Fix tests
This commit is contained in:
parent
11649e4ca7
commit
c55e0fc372
@ -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