summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkbox.c2
-rw-r--r--gtk/gtkframe.c2
-rw-r--r--gtk/gtktrayicon-x11.c1
3 files changed, 1 insertions, 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);