[gtk+] notebook: Remove redundant variable declarations



commit 6a9be60a1689b46bca2c5d51203c3a3752b12673
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Oct 17 11:43:06 2016 +0100

    notebook: Remove redundant variable declarations
    
    We're already declaring notebook and priv at the top of the function,
    and assigning them to the same values.

 gtk/gtknotebook.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index e48b0f1..ab84b01 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -3579,8 +3579,6 @@ gtk_notebook_drag_end (GtkWidget      *widget,
 
   if (priv->rootwindow_drop)
     {
-      GtkNotebook *notebook = GTK_NOTEBOOK (widget);
-      GtkNotebookPrivate *priv = notebook->priv;
       GtkNotebook *dest_notebook = NULL;
       gint x, y;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]