← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1251460] [NEW] crash in clock-live.c's set_detect_location_enabled()

 

Public bug reported:

clock-live.c has a private function with this signature:

> static void on_detect_location_changed (IndicatorDatetimeClockLive *
self)

and indicator_datetime_clock_live_init() has this code:

> g_signal_connect (p->settings, "changed::" SETTINGS_SHOW_DETECTED_S,
>                                         G_CALLBACK(on_detect_location_changed), self);

This should be _connect_swapped() s.t. self is passed to
on_detect_location_changed().

** Affects: indicator-datetime
     Importance: High
     Assignee: Charles Kerr (charlesk)
         Status: In Progress

** Branch linked: lp:~charlesk/indicator-datetime/lp-1251460

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Indicator Date and Time.
https://bugs.launchpad.net/bugs/1251460

Title:
  crash in clock-live.c's set_detect_location_enabled()

Status in The Date and Time Indicator:
  In Progress

Bug description:
  clock-live.c has a private function with this signature:

  > static void on_detect_location_changed (IndicatorDatetimeClockLive *
  self)

  and indicator_datetime_clock_live_init() has this code:

  > g_signal_connect (p->settings, "changed::" SETTINGS_SHOW_DETECTED_S,
  >                                         G_CALLBACK(on_detect_location_changed), self);

  This should be _connect_swapped() s.t. self is passed to
  on_detect_location_changed().

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-datetime/+bug/1251460/+subscriptions


Follow ups

References