Skip to content

Commit

Permalink
don't abort on unknown DBus signal name
Browse files Browse the repository at this point in the history
it's external data, so it's not very clever to put assert on it

same as done in:
mate-desktop/mate-panel@40b31b2
  • Loading branch information
monsta committed Aug 16, 2017
1 parent f748d57 commit 7facec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpm-kbd-backlight.c
Expand Up @@ -326,7 +326,7 @@ gpm_kbd_backlight_on_dbus_signal (GDBusProxy *proxy,
return;
}

g_assert_not_reached ();
g_debug ("signal '%s' not handled!", signal_name);
}

/**
Expand Down

1 comment on commit 7facec4

@raveit65
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, this commit will prevent m-p-m from crashing on notebooks with keyboard brightness and upower-0.95?
Of course the dbus-signal will do anything.
Btw. i posted some links in report to gnome commits for gnome-settings-daemon for upower-0.95

Please sign in to comment.