diff options
author | Yevgen Muntyan <muntyan@tamu.edu> | 2007-05-23 15:06:03 +0000 |
---|---|---|
committer | Yevgen Muntyan <muntyan@src.gnome.org> | 2007-05-23 15:06:03 +0000 |
commit | 1a534510aa3f21bb8a101c6b3b40f32b6f178aa4 (patch) | |
tree | 82daeb5765a003fafa20ba9d73c80cb462e1d1fb /gtk/gtktrayicon-x11.c | |
parent | c3bbd06de30951e2895f0dac9f6dabd77cdd260f (diff) | |
download | gtk+-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 'gtk/gtktrayicon-x11.c')
-rwxr-xr-x | gtk/gtktrayicon-x11.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c index baf41235f9..e53edde202 100755 --- a/gtk/gtktrayicon-x11.c +++ b/gtk/gtktrayicon-x11.c @@ -305,8 +305,8 @@ static void gtk_tray_icon_send_dock_request (GtkTrayIcon *icon) { GTK_NOTE (PLUGSOCKET, - g_print ("GtkStatusIcon %p: sending dock request to manager window %x\n", - icon, icon->priv->manager_window)); + g_print ("GtkStatusIcon %p: sending dock request to manager window %lx\n", + icon, (gulong) icon->priv->manager_window)); gtk_tray_icon_send_manager_message (icon, SYSTEM_TRAY_REQUEST_DOCK, @@ -323,8 +323,8 @@ gtk_tray_icon_update_manager_window (GtkTrayIcon *icon) g_return_if_fail (GTK_WIDGET_REALIZED (icon)); GTK_NOTE (PLUGSOCKET, - g_print ("GtkStatusIcon %p: updating tray icon manager window, current manager window: %x\n", - icon, icon->priv->manager_window)); + g_print ("GtkStatusIcon %p: updating tray icon manager window, current manager window: %lx\n", + icon, (gulong) icon->priv->manager_window)); if (icon->priv->manager_window != None) return; @@ -351,8 +351,8 @@ gtk_tray_icon_update_manager_window (GtkTrayIcon *icon) GdkWindow *gdkwin; GTK_NOTE (PLUGSOCKET, - g_print ("GtkStatusIcon %p: is being managed by window %x\n", - icon, icon->priv->manager_window)); + g_print ("GtkStatusIcon %p: is being managed by window %lx\n", + icon, (gulong) icon->priv->manager_window)); gdkwin = gdk_window_lookup_for_display (gtk_widget_get_display (GTK_WIDGET (icon)), icon->priv->manager_window); @@ -392,8 +392,8 @@ gtk_tray_icon_delete (GtkWidget *widget, GtkTrayIcon *icon = GTK_TRAY_ICON (widget); GTK_NOTE (PLUGSOCKET, - g_print ("GtkStatusIcon %p: delete notify, tray manager window %x\n", - icon, icon->priv->manager_window)); + g_print ("GtkStatusIcon %p: delete notify, tray manager window %lx\n", + icon, (gulong) icon->priv->manager_window)); gtk_widget_hide (widget); gtk_widget_unrealize (widget); @@ -416,11 +416,11 @@ gtk_tray_icon_realize (GtkWidget *widget) GTK_WIDGET_CLASS (gtk_tray_icon_parent_class)->realize (widget); GTK_NOTE (PLUGSOCKET, - g_print ("GtkStatusIcon %p: realized, window: %x, socket window: %x\n", + g_print ("GtkStatusIcon %p: realized, window: %lx, socket window: %lx\n", widget, - GDK_WINDOW_XWINDOW (widget->window), + (gulong) GDK_WINDOW_XWINDOW (widget->window), GTK_PLUG (icon)->socket_window ? - GDK_WINDOW_XWINDOW (GTK_PLUG (icon)->socket_window) : 0)); + (gulong) GDK_WINDOW_XWINDOW (GTK_PLUG (icon)->socket_window) : 0UL)); screen = gtk_widget_get_screen (widget); display = gdk_screen_get_display (screen); |