diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-28 15:00:05 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-28 15:00:05 +0000 |
commit | d5f92150d4b8bffb78cd5110cbb2c28bfdf81136 (patch) | |
tree | 0d79978a95c24dcbdb2d9fd577dedf0da2795ece /tests/testentrycompletion.c | |
parent | dbba41045ecb383810fb8962ee9b83998a89c37d (diff) | |
download | gtk+-d5f92150d4b8bffb78cd5110cbb2c28bfdf81136.tar.gz |
Fix many sparse warnings.
Diffstat (limited to 'tests/testentrycompletion.c')
-rw-r--r-- | tests/testentrycompletion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testentrycompletion.c b/tests/testentrycompletion.c index 01bd203309..0f7a74f761 100644 --- a/tests/testentrycompletion.c +++ b/tests/testentrycompletion.c @@ -217,7 +217,7 @@ animation_timer (GtkEntryCompletion *completion) { g_print ("readding model!\n"); - gtk_entry_completion_set_model (completion, old_store); + gtk_entry_completion_set_model (completion, GTK_TREE_MODEL(old_store)); g_object_unref (old_store); old_store = NULL; } @@ -342,7 +342,7 @@ main (int argc, char *argv[]) gtk_entry_completion_insert_action_text (completion, 100, "action!"); gtk_entry_completion_insert_action_text (completion, 101, "'nother action!"); - g_signal_connect (completion, "action_activated", G_CALLBACK (activated_cb), 0); + g_signal_connect (completion, "action_activated", G_CALLBACK (activated_cb), NULL); /* Create our third entry */ entry = gtk_entry_new (); |