paned: Fix compiler warnings

Fix warnings due to -Wdeclaration-after-statement and -Wshadow.
This commit is contained in:
Matthias Clasen 2015-05-30 21:27:57 -04:00
parent a0dddbbafa
commit 9bb121c55d

View File

@ -2445,7 +2445,7 @@ gtk_paned_get_cycle_chain (GtkPaned *paned,
/* Walk the list and expand all the paned widgets. */
for (list = temp_list; list != NULL; list = list->next)
{
GtkWidget *widget = list->data;
widget = list->data;
if (widget)
{
@ -2773,7 +2773,6 @@ gtk_paned_cycle_handle_focus (GtkPaned *paned,
GtkContainer *container = GTK_CONTAINER (paned);
GtkPaned *focus;
GtkPaned *first;
GtkPaned *prev, *next;
GtkWidget *toplevel;
GtkWidget *focus_child;