testgtk: Set initial cursor
authorMatthias Clasen <mclasen@redhat.com>
Sun, 5 Apr 2015 23:10:39 +0000 (19:10 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 5 Apr 2015 23:10:39 +0000 (19:10 -0400)
Arrange for the entry and the cursor area to both start out
with the arrow cursor.

tests/testgtk.c

index a41528ba4212768e78118a1238483822f9a421f3..b9458e0477653b4c2694409f44c448861a7621bb 100644 (file)
@@ -5184,7 +5184,7 @@ create_cursors (GtkWidget *widget)
 
       gtk_widget_show_all (window);
 
-      set_cursor_from_name (entry, darea);
+      gtk_entry_set_text (GTK_ENTRY (entry), "arrow");
     }
   else
     gtk_widget_destroy (window);