From c8fdd5e847181997cf8f366a1d47bff53d0d7976 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 25 Aug 2011 14:47:21 -0400 Subject: [PATCH] Squash two compilation warnings about possibly-uninitialzed --- gtk/gtkiconview.c | 2 +- gtk/gtknotebook.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index fe8ccb326f..6214706270 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -3692,7 +3692,7 @@ gtk_icon_view_move_cursor_up_down (GtkIconView *icon_view, gint count) { GtkIconViewItem *item; - GtkCellRenderer *cell; + GtkCellRenderer *cell = NULL; gboolean dirty = FALSE; gint step; GtkDirectionType direction; diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 9c7ece563c..0ae65efcc8 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -2254,7 +2254,7 @@ gtk_notebook_size_request (GtkWidget *widget, if (priv->show_tabs) { - GtkRequisition tabs_requisition; + GtkRequisition tabs_requisition = { 0, 0 }; gtk_notebook_get_preferred_tabs_size (notebook, &tabs_requisition); if (orientation == GTK_ORIENTATION_HORIZONTAL)