[libwnck] WnckPager: remove unneeded priv parameters initialization to 0



commit d2164b82ff4af8f34cbc6c900c9ca547fb32e7ea
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Sat Jul 20 16:49:47 2013 +0200

    WnckPager: remove unneeded priv parameters initialization to 0

 libwnck/pager.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/libwnck/pager.c b/libwnck/pager.c
index f578938..d0bd256 100644
--- a/libwnck/pager.c
+++ b/libwnck/pager.c
@@ -227,20 +227,9 @@ wnck_pager_init (WnckPager *pager)
     pager->priv->screen_connections[i] = 0;
 
   pager->priv->prelight = -1;
-  pager->priv->prelight_dnd = FALSE;
-
-  pager->priv->dragging = FALSE;
-  pager->priv->drag_start_x = 0;
-  pager->priv->drag_start_y = 0;
-  pager->priv->drag_window = NULL;
-
-  pager->priv->bg_cache = NULL;
 
   pager->priv->layout_manager_token = WNCK_NO_MANAGER_TOKEN;
 
-  pager->priv->dnd_activate = 0;
-  pager->priv->dnd_time = 0;
-
   g_object_set (pager, "has-tooltip", TRUE, NULL);
 
   gtk_drag_dest_set (GTK_WIDGET (pager), 0, targets, G_N_ELEMENTS (targets), GDK_ACTION_MOVE);


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