After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750479 - process_config_entries uses a non-existent variable
process_config_entries uses a non-existent variable
Status: RESOLVED FIXED
Product: gnome-online-accounts
Classification: Core
Component: general
3.17.x
Other FreeBSD
: Normal normal
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-06-06 12:38 UTC by Ting-Wei Lan
Modified: 2015-09-09 11:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] build: Fix the wrong variable name (1017 bytes, patch)
2015-06-06 12:40 UTC, Ting-Wei Lan
none Details | Review
[PATCH] build: Fix the wrong variable name (1.05 KB, patch)
2015-06-07 18:52 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2015-06-06 12:38:57 UTC
Please see the patch. There is still usage of 'daemon' variable after the argument 'daemon' was renamed to 'self' in process_config_entries.
Comment 1 Ting-Wei Lan 2015-06-06 12:40:07 UTC
Created attachment 304686 [details] [review]
[PATCH] build: Fix the wrong variable name
Comment 2 Debarshi Ray 2015-06-07 13:58:22 UTC
Review of attachment 304686 [details] [review]:

Thanks for the patch! Could you please add "Fall out from 2a07dc2854eebc6721d5ec99d4df2ab587143e10" in the commit message?

::: src/daemon/goadaemon.c
@@ +633,3 @@
       g_signal_handlers_disconnect_by_func (goa_object_peek_account (object),
                                             G_CALLBACK (on_account_handle_remove),
+                                            self);

Good catch. I wonder how I managed to sneak this in past Continuous. :/ Embarassing.
Comment 3 Ting-Wei Lan 2015-06-07 18:52:00 UTC
Created attachment 304732 [details] [review]
[PATCH] build: Fix the wrong variable name

(In reply to Debarshi Ray from comment #2)
> Review of attachment 304686 [details] [review] [review]:
> 
> Thanks for the patch! Could you please add "Fall out from
> 2a07dc2854eebc6721d5ec99d4df2ab587143e10" in the commit message?
> 
> ::: src/daemon/goadaemon.c
> @@ +633,3 @@
>        g_signal_handlers_disconnect_by_func (goa_object_peek_account
> (object),
>                                              G_CALLBACK
> (on_account_handle_remove),
> +                                            self);
> 
> Good catch. I wonder how I managed to sneak this in past Continuous. :/
> Embarassing.

I think this problem was not found on GNU/Linux because glibc does have a function called 'daemon'.
Comment 4 Debarshi Ray 2015-06-08 11:07:54 UTC
Review of attachment 304732 [details] [review]:

Perfect. Can you also push it to the gnome-3-16 branch?
Comment 5 Debarshi Ray 2015-06-08 11:08:22 UTC
(In reply to Ting-Wei Lan from comment #3) 
> I think this problem was not found on GNU/Linux because glibc does have a
> function called 'daemon'.

Right. Makes sense.
Comment 6 Ting-Wei Lan 2015-06-08 16:40:17 UTC
Attachment 304732 [details] pushed to master as ba3a205 - build: Fix the wrong variable name
Attachment 304732 [details] pushed to gnome-3-16 as fb854bf - build: Fix the wrong variable name