[libwnck] WnckSelector: remove unneeded priv parameters initialization to 0
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck] WnckSelector: remove unneeded priv parameters initialization to 0
- Date: Sat, 20 Jul 2013 18:21:13 +0000 (UTC)
commit e43fcfd1b967bb10d45fd6a8dbc20470b4277cbb
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Sat Jul 20 16:52:05 2013 +0200
WnckSelector: remove unneeded priv parameters initialization to 0
libwnck/selector.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/libwnck/selector.c b/libwnck/selector.c
index 6629d5f..7d76748 100644
--- a/libwnck/selector.c
+++ b/libwnck/selector.c
@@ -1242,14 +1242,7 @@ wnck_selector_init (WnckSelector *selector)
selector->priv = WNCK_SELECTOR_GET_PRIVATE (selector);
- selector->priv->image = NULL;
- selector->priv->icon_window = NULL;
-
- selector->priv->menu = NULL;
- selector->priv->no_windows_item = NULL;
- selector->priv->window_hash = NULL;
-
- selector->priv->size = -1;
+ selector->priv->size = -1;
gtk_widget_add_events (GTK_WIDGET (selector), GDK_SCROLL_MASK);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]