[network-manager-applet] (lt-nm-applet:25513): GLib-CRITICAL **: Source ID 217 was not found when attempting to remove it
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] (lt-nm-applet:25513): GLib-CRITICAL **: Source ID 217 was not found when attempting to remove it
- Date: Fri, 11 Mar 2016 16:46:13 +0000 (UTC)
commit 28d6fbec1d58d49e77c97237d1c0182872209907
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Wed Mar 9 16:12:13 2016 +0100
(lt-nm-applet:25513): GLib-CRITICAL **: Source ID 217 was not found when attempting to remove it
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff316081b in _g_log_abort (breakpoint=1) at gmessages.c:324
324 G_BREAKPOINT ();
Missing separate debuginfos, use: dnf debuginfo-install dbus-glib-0.106-1.fc23.x86_64
GConf2-3.2.6-15.fc23.x86_64 libgcc-5.3.1-2.fc23.x86_64
(gdb) bt
(gdb)
src/applet-device-wifi.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/applet-device-wifi.c b/src/applet-device-wifi.c
index b7bdd2c..9944fb4 100644
--- a/src/applet-device-wifi.c
+++ b/src/applet-device-wifi.c
@@ -1126,6 +1126,8 @@ idle_check_avail_access_point_notification (gpointer datap)
gboolean have_unused_access_point = FALSE;
gboolean have_no_autoconnect_points = TRUE;
+ data->id = 0;
+
if (nm_client_get_state (data->applet->nm_client) != NM_STATE_DISCONNECTED)
return FALSE;
@@ -1252,8 +1254,7 @@ free_ap_notification_data (gpointer user_data)
struct ap_notification_data *data = user_data;
NMClient *client = data->applet->nm_client;
- if (data->id)
- g_source_remove (data->id);
+ nm_clear_g_source (&data->id);
if (client)
g_signal_handler_disconnect (client, data->new_con_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]