testgtk: Set initial cursor
Arrange for the entry and the cursor area to both start out with the arrow cursor.
This commit is contained in:
@ -5184,7 +5184,7 @@ create_cursors (GtkWidget *widget)
|
|||||||
|
|
||||||
gtk_widget_show_all (window);
|
gtk_widget_show_all (window);
|
||||||
|
|
||||||
set_cursor_from_name (entry, darea);
|
gtk_entry_set_text (GTK_ENTRY (entry), "arrow");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
gtk_widget_destroy (window);
|
gtk_widget_destroy (window);
|
||||||
|
|||||||
Reference in New Issue
Block a user