Squash two compilation warnings about possibly-uninitialzed

This commit is contained in:
Colin Walters 2011-08-25 14:47:21 -04:00
parent 97aec9ae8e
commit c8fdd5e847
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)