mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-30 02:57:38 +00:00
Squash two compilation warnings about possibly-uninitialzed
This commit is contained in:
parent
97aec9ae8e
commit
c8fdd5e847
@ -3692,7 +3692,7 @@ gtk_icon_view_move_cursor_up_down (GtkIconView *icon_view,
|
|||||||
gint count)
|
gint count)
|
||||||
{
|
{
|
||||||
GtkIconViewItem *item;
|
GtkIconViewItem *item;
|
||||||
GtkCellRenderer *cell;
|
GtkCellRenderer *cell = NULL;
|
||||||
gboolean dirty = FALSE;
|
gboolean dirty = FALSE;
|
||||||
gint step;
|
gint step;
|
||||||
GtkDirectionType direction;
|
GtkDirectionType direction;
|
||||||
|
@ -2254,7 +2254,7 @@ gtk_notebook_size_request (GtkWidget *widget,
|
|||||||
|
|
||||||
if (priv->show_tabs)
|
if (priv->show_tabs)
|
||||||
{
|
{
|
||||||
GtkRequisition tabs_requisition;
|
GtkRequisition tabs_requisition = { 0, 0 };
|
||||||
|
|
||||||
gtk_notebook_get_preferred_tabs_size (notebook, &tabs_requisition);
|
gtk_notebook_get_preferred_tabs_size (notebook, &tabs_requisition);
|
||||||
if (orientation == GTK_ORIENTATION_HORIZONTAL)
|
if (orientation == GTK_ORIENTATION_HORIZONTAL)
|
||||||
|
Loading…
Reference in New Issue
Block a user