summaryrefslogtreecommitdiff
path: root/gtk/gtkxembed.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-04-30 16:18:54 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-04-30 16:18:54 +0000
commit6573ed5f1238f9db6332667671414b496564f8cb (patch)
tree0ddb258a6b9072f8a39ddf2d656d8b852fac5156 /gtk/gtkxembed.c
parentc75e9c1df7ecb9a7c4bb517067a0a4e3a282f61c (diff)
downloadgtk+-6573ed5f1238f9db6332667671414b496564f8cb.tar.gz
Fix some compiler warnings. (#433642, Kjartan Maraas)
2007-04-30 Matthias Clasen <mclasen@redhat.com> Fix some compiler warnings. (#433642, Kjartan Maraas) * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info): (gtk_file_system_win32_create_folder): * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion. * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass the right type to uri_func. * gtk/gtktext.c (gtk_text_key_press): * gtk/gtkstatusicon.c (gtk_status_icon_get_property): * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts. * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed): (gtk_tray_icon_delete): * gtk/gtkprintunixdialog.c (create_main_page): * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables. * gtk/gtkliststore.c: Adapt callbacks to GSequence types. svn path=/trunk/; revision=17739
Diffstat (limited to 'gtk/gtkxembed.c')
-rw-r--r--gtk/gtkxembed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkxembed.c b/gtk/gtkxembed.c
index 2c56b0ba4a..c1feb57252 100644
--- a/gtk/gtkxembed.c
+++ b/gtk/gtkxembed.c
@@ -165,7 +165,7 @@ _gtk_xembed_send_message (GdkWindow *recipient,
gdk_error_trap_push ();
XSendEvent (GDK_WINDOW_XDISPLAY(recipient),
GDK_WINDOW_XWINDOW (recipient),
- False, NoEventMask, &xclient);
+ False, NoEventMask, (XEvent *)&xclient);
gdk_display_sync (display);
gdk_error_trap_pop ();
}