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



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

    WnckApplication: remove unneeded priv parameters initialization to 0

 libwnck/application.c |   23 +----------------------
 1 files changed, 1 insertions(+), 22 deletions(-)
---
diff --git a/libwnck/application.c b/libwnck/application.c
index 6146c0a..3d6a996 100644
--- a/libwnck/application.c
+++ b/libwnck/application.c
@@ -116,29 +116,8 @@ wnck_application_init (WnckApplication *application)
 {
   application->priv = WNCK_APPLICATION_GET_PRIVATE (application);
 
-  application->priv->xwindow = None;
-  application->priv->screen = NULL;
-  application->priv->windows = NULL;
-  application->priv->pid = 0;
-  application->priv->name = NULL;
-
-  application->priv->name_window = NULL;
-
-  application->priv->icon = NULL;
-  application->priv->mini_icon = NULL;
-
   application->priv->icon_cache = _wnck_icon_cache_new ();
-  _wnck_icon_cache_set_want_fallback (application->priv->icon_cache,
-                                      FALSE);
-
-  application->priv->icon_window = NULL;
-
-  application->priv->startup_id = NULL;
-
-  application->priv->name_from_leader = FALSE;
-  application->priv->icon_from_leader = FALSE;
-
-  application->priv->need_emit_icon_changed = FALSE;
+  _wnck_icon_cache_set_want_fallback (application->priv->icon_cache, FALSE);
 }
 
 static void


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