aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-21 11:13:19 -0600
committerTed Gould <ted@gould.cx>2011-02-21 11:13:19 -0600
commitc507ab1fd9122a771c0bc0d8293b11ef7896a5ce (patch)
tree75a5f71cf61fa91974c7b894169d65b98334a485 /src
parent0c565619b3ebb2f63e3284c12644acd3c37a13f7 (diff)
parentf614bf09906d0bc9230fbf35522ae2f10a026b41 (diff)
downloadayatana-indicator-application-c507ab1fd9122a771c0bc0d8293b11ef7896a5ce.tar.gz
ayatana-indicator-application-c507ab1fd9122a771c0bc0d8293b11ef7896a5ce.tar.bz2
ayatana-indicator-application-c507ab1fd9122a771c0bc0d8293b11ef7896a5ce.zip
Make sure to NULL out the structure
Diffstat (limited to 'src')
-rw-r--r--src/indicator-application.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-application.c b/src/indicator-application.c
index 2fbdb13..c18c2b0 100644
--- a/src/indicator-application.c
+++ b/src/indicator-application.c
@@ -456,7 +456,7 @@ application_added (IndicatorApplication * application, const gchar * iconname, g
g_debug("Building new application entry: %s with icon: %s at position %i", dbusaddress, iconname, position);
IndicatorApplicationPrivate * priv = INDICATOR_APPLICATION_GET_PRIVATE(application);
- ApplicationEntry * app = g_new(ApplicationEntry, 1);
+ ApplicationEntry * app = g_new0(ApplicationEntry, 1);
app->old_service = FALSE;
app->icon_theme_path = NULL;