From 0d85671bc912ac62202e1e01dbd38d3b495e6a4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Sat, 1 May 2010 03:52:03 +0200 Subject: [PATCH] Fix some compilation warnings --- gtk/gtkbox.c | 2 +- gtk/gtkframe.c | 2 -- gtk/gtktrayicon-x11.c | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index 35900e8888..4e69b44ca8 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -411,7 +411,7 @@ gtk_box_size_allocate (GtkWidget *widget, gint size; gint extra; - gint x, y, i; + gint x = 0, y = 0, i; gint child_size; if (private->orientation == GTK_ORIENTATION_HORIZONTAL) diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index 1d8b92ef89..a377eda7b0 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -59,8 +59,6 @@ static void gtk_frame_paint (GtkWidget *widget, GdkRectangle *area); static gint gtk_frame_expose (GtkWidget *widget, GdkEventExpose *event); -static void gtk_frame_size_request (GtkWidget *widget, - GtkRequisition *requisition); static void gtk_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation); static void gtk_frame_remove (GtkContainer *container, diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c index cd3a6b4a4e..4cb1aa7956 100644 --- a/gtk/gtktrayicon-x11.c +++ b/gtk/gtktrayicon-x11.c @@ -672,7 +672,6 @@ gtk_tray_icon_update_manager_window (GtkTrayIcon *icon) icon->priv->manager_window); gdk_window_add_filter (gdkwin, gtk_tray_icon_manager_filter, icon); - g_print ("manager window %d\n", icon->priv->manager_window); gtk_tray_icon_get_orientation_property (icon); gtk_tray_icon_get_visual_property (icon);