diff options
author | zhuyaliang <[email protected]> | 2021-07-25 21:12:43 +0800 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2021-07-28 07:59:54 -0400 |
commit | 633f79b08e2f2fe5e4c3195b2a983fa56b027e0c (patch) | |
tree | 928b6e721d6b45a6e3b2ebf0e57a5887ae102182 /applets/clock/clock-location.c | |
parent | 845b18be6cfaefa6ee5a0d7c695f5bb71aef7c5a (diff) | |
download | mate-panel-633f79b08e2f2fe5e4c3195b2a983fa56b027e0c.tar.bz2 mate-panel-633f79b08e2f2fe5e4c3195b2a983fa56b027e0c.tar.xz |
Fix clock applet add location crash
Diffstat (limited to 'applets/clock/clock-location.c')
-rw-r--r-- | applets/clock/clock-location.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/clock/clock-location.c b/applets/clock/clock-location.c index 7ce1c129..e5b84bf1 100644 --- a/applets/clock/clock-location.c +++ b/applets/clock/clock-location.c @@ -92,7 +92,7 @@ clock_location_find_and_ref (GSList *locations, } if (l != NULL) - return g_object_ref (CLOCK_LOCATION (l->data)); + return CLOCK_LOCATION (l->data); else return NULL; } |