summaryrefslogtreecommitdiff
path: root/gtk/gtkcontainer.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-20 21:47:01 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-20 21:47:01 +0000
commit8acfd1e9de927adf2bea546bda55740a2b0cc436 (patch)
tree37b5917fa9f5f02d3132d06eb1f1bf7ddab2f5e0 /gtk/gtkcontainer.c
parent67359a9c01adb1418621678975b496964e8e6843 (diff)
downloadgtk+-8acfd1e9de927adf2bea546bda55740a2b0cc436.tar.gz
Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC,
Wed Mar 20 16:36:08 2002 Owen Taylor <otaylor@redhat.com> * gtk/*.c: Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC, mostly implicit casts between void * and function pointers. * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's state field is not a GdkModifierType. (Also #73900)
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r--gtk/gtkcontainer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 1a7d0a1139..bef2491cbb 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1916,7 +1916,7 @@ chain_widget_destroyed (GtkWidget *widget,
chain = g_list_remove (chain, widget);
g_signal_handlers_disconnect_by_func (G_OBJECT (widget),
- chain_widget_destroyed,
+ (gpointer) chain_widget_destroyed,
user_data);
g_object_set_data (G_OBJECT (container),
@@ -2043,7 +2043,7 @@ gtk_container_unset_focus_chain (GtkContainer *container)
while (tmp_list != NULL)
{
g_signal_handlers_disconnect_by_func (G_OBJECT (tmp_list->data),
- chain_widget_destroyed,
+ (gpointer) chain_widget_destroyed,
container);
tmp_list = g_list_next (tmp_list);