summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2004-10-28 15:00:05 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-10-28 15:00:05 +0000
commitd5f92150d4b8bffb78cd5110cbb2c28bfdf81136 (patch)
tree0d79978a95c24dcbdb2d9fd577dedf0da2795ece /tests/testgtk.c
parentdbba41045ecb383810fb8962ee9b83998a89c37d (diff)
downloadgdk-pixbuf-d5f92150d4b8bffb78cd5110cbb2c28bfdf81136.tar.gz
Fix many sparse warnings.
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index fb0e54409..0ca5a617c 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -3931,7 +3931,7 @@ dump_accels (gpointer callback_data,
static GtkItemFactoryEntry menu_items[] =
{
- { "/_File", NULL, 0, 0, "<Branch>" },
+ { "/_File", NULL, NULL, 0, "<Branch>" },
{ "/File/tearoff1", NULL, gtk_ifactory_cb, 0, "<Tearoff>" },
{ "/File/_New", NULL, gtk_ifactory_cb, 0, "<StockItem>", GTK_STOCK_NEW },
{ "/File/_Open", NULL, gtk_ifactory_cb, 0, "<StockItem>", GTK_STOCK_OPEN },
@@ -7537,7 +7537,7 @@ create_flipping (GtkWidget *widget)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_button), TRUE);
g_signal_connect (check_button, "toggled",
- G_CALLBACK (flipping_toggled_cb), FALSE);
+ G_CALLBACK (flipping_toggled_cb), NULL);
gtk_container_set_border_width (GTK_CONTAINER (check_button), 10);
@@ -12794,7 +12794,7 @@ create_main_window (void)
}
static void
-test_init ()
+test_init (void)
{
if (g_file_test ("../gdk-pixbuf/libpixbufloader-pnm.la",
G_FILE_TEST_EXISTS))