diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-04-29 14:12:20 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-04-29 14:12:20 +0000 |
commit | 3f571c18e4b5e9f5558ef59152b47c5ec94bc076 (patch) | |
tree | db0d781a303a4b558247456b9e4d0e6cc870d7bc /tests | |
parent | f215db2b12d2b7afca6ea135d5246aa7a01cf738 (diff) | |
download | gtk+-3f571c18e4b5e9f5558ef59152b47c5ec94bc076.tar.gz |
Add a missing cat. (#141070, Chris Sherlock)
2004-04-29 Matthias Clasen <mclasen@redhat.com>
* tests/testentrycompletion.c (main): Add a missing
cat. (#141070, Chris Sherlock)
* gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
variable. (#141022, Chris Sherlock)
* gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
cast. (#141013, Chris Sherlock)
* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
unused variable. (#141011, Chris Sherlock)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testentrycompletion.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testentrycompletion.c b/tests/testentrycompletion.c index 0a07be9aa8..c894b90413 100644 --- a/tests/testentrycompletion.c +++ b/tests/testentrycompletion.c @@ -243,6 +243,7 @@ main (int argc, char *argv[]) gtk_container_set_border_width (GTK_CONTAINER (vbox), 5); label = gtk_label_new (NULL); + gtk_label_set_markup (GTK_LABEL (label), "Completion demo, try writing <b>total</b> or <b>gnome</b> for example."); gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0); @@ -311,7 +312,7 @@ main (int argc, char *argv[]) g_object_unref (completion); /* Create a tree model and use it as the completion model */ - completion_model = gtk_list_store_new (1, G_TYPE_STRING); + completion_model = GTK_TREE_MODEL (gtk_list_store_new (1, G_TYPE_STRING)); gtk_entry_completion_set_model (completion, completion_model); g_object_unref (completion_model); |