summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYevgen Muntyan <muntyan@tamu.edu>2007-05-23 15:06:03 +0000
committerYevgen Muntyan <muntyan@src.gnome.org>2007-05-23 15:06:03 +0000
commit1a534510aa3f21bb8a101c6b3b40f32b6f178aa4 (patch)
tree82daeb5765a003fafa20ba9d73c80cb462e1d1fb /tests
parentc3bbd06de30951e2895f0dac9f6dabd77cdd260f (diff)
downloadgtk+-1a534510aa3f21bb8a101c6b3b40f32b6f178aa4.tar.gz
missing #include <ctype.h>.
2007-05-23 Yevgen Muntyan <muntyan@tamu.edu> * gtk/gtkprintunixdialog.c: missing #include <ctype.h>. * gtk/gtkhandlebox.c (gtk_handle_box_paint): * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers): * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id): * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request): * gtk/gtkpreview.c (gtk_preview_finalize): * gtk/gtknotebook.c (gtk_notebook_set_group_id): * tests/testnotebookdnd.c (window_creation_function): * tests/testiconview.c (do_popup_menu): Fixed some compiler warnings (#440689). svn path=/trunk/; revision=17898
Diffstat (limited to 'tests')
-rw-r--r--tests/testiconview.c2
-rw-r--r--tests/testnotebookdnd.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/testiconview.c b/tests/testiconview.c
index 42d49a8fa4..76b54981c7 100644
--- a/tests/testiconview.c
+++ b/tests/testiconview.c
@@ -346,7 +346,7 @@ do_popup_menu (GtkWidget *icon_list,
if (list)
{
path = (GtkTreePath*)list->data;
- g_list_foreach (list->next, gtk_tree_path_free, NULL);
+ g_list_foreach (list->next, (GFunc) gtk_tree_path_free, NULL);
g_list_free (list);
}
}
diff --git a/tests/testnotebookdnd.c b/tests/testnotebookdnd.c
index d8364455df..869439469d 100644
--- a/tests/testnotebookdnd.c
+++ b/tests/testnotebookdnd.c
@@ -79,8 +79,8 @@ window_creation_function (GtkNotebook *source_notebook,
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
notebook = gtk_notebook_new ();
- gtk_notebook_set_group_id (GTK_NOTEBOOK (notebook),
- gtk_notebook_get_group_id (source_notebook));
+ gtk_notebook_set_group (GTK_NOTEBOOK (notebook),
+ gtk_notebook_get_group (source_notebook));
gtk_container_add (GTK_CONTAINER (window), notebook);