diff options
author | Ted Gould <ted@canonical.com> | 2009-01-13 14:18:47 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-13 14:18:47 -0600 |
commit | 82dee9414fc6ae41006f1664c1be0636a15ca4dd (patch) | |
tree | 45661b6ba97d84d773577539373956c61cd41ca7 /libindicate/indicator.c | |
parent | f64b5d9528ff05508224d48652edbfde1d497243 (diff) | |
download | libayatana-indicator-82dee9414fc6ae41006f1664c1be0636a15ca4dd.tar.gz libayatana-indicator-82dee9414fc6ae41006f1664c1be0636a15ca4dd.tar.bz2 libayatana-indicator-82dee9414fc6ae41006f1664c1be0636a15ca4dd.zip |
Making it so that the indicators all have unique IDs
Diffstat (limited to 'libindicate/indicator.c')
-rw-r--r-- | libindicate/indicator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libindicate/indicator.c b/libindicate/indicator.c index e16492d..8121ceb 100644 --- a/libindicate/indicator.c +++ b/libindicate/indicator.c @@ -59,10 +59,9 @@ indicate_indicator_init (IndicateIndicator * indicator) { g_debug("Indicator Object Initialized."); - indicator->id = 0; indicator->is_visible = FALSE; - indicator->server = indicate_server_ref_default(); + indicator->id = indicate_server_get_next_id(indicator->server); indicate_server_add_indicator(indicator->server, indicator); return; |