gnome-control-center/panels
Bastien Nocera 9acaa10567 power: Fix possible assertion on startup
When opening the Power panel, and if power-profiles-daemon isn't already
started, we'll be autostarting it, making it send signals about all the
changed properties, including "PerformanceInhibited" even if we
don't have a Performance row.

Ignore the property change if we don't have a row for it rather than
asserting.

 #0  0x00007f73916bc292 in raise () from /lib64/libc.so.6
 #1  0x00007f73916a58a4 in abort () from /lib64/libc.so.6
 #2  0x00007f7393203ccc in g_assertion_message.cold () from /lib64/libglib-2.0.so.0
 #3  0x00007f739325f22f in g_assertion_message_expr () from /lib64/libglib-2.0.so.0
 #4  0x000055a4099e28ae in performance_profile_set_inhibited (self=0x55a40b37e320, self=0x55a40b37e320, performance_inhibited=<optimized out>) at ../panels/power/cc-power-panel.c:1366
 #5  power_profiles_properties_changed_cb (self=0x55a40b37e320, changed_properties=<optimized out>, invalidated_properties=<optimized out>, proxy=<optimized out>) at ../panels/power/cc-power-panel.c:1425
 #6  0x00007f7393332c2f in g_closure_invoke () from /lib64/libgobject-2.0.so.0
 #7  0x00007f739334eea6 in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0

1362	{
1363	  CcPowerProfileRow *row;
1364
1365	  row = self->power_profiles_row[CC_POWER_PROFILE_PERFORMANCE];
1366	  g_assert (row != NULL);
1367	  cc_power_profile_row_set_performance_inhibited (row, performance_inhibited);
1368	}
2021-03-31 11:12:17 +02:00
..
applications panels: Align dialog labels with their respective listbox below 2021-02-23 11:55:56 +01:00
background background: Fix thumbnail size on hidpi 2021-03-04 13:29:27 +00:00
bluetooth panel: Move shared GCancellable code into panel class 2020-02-03 09:36:24 +13:00
camera Replace HdyColumn by HdyClamp 2020-07-20 08:04:28 +02:00
color color: Search path for gcm-viewer/gcm-calibrate rather than rely on exact location 2020-12-13 21:45:56 +00:00
common common/language-chooser: Center More row icon 2021-03-04 09:33:44 -03:00
datetime datetime: Implement the new time-date editor dialog design 2020-09-15 03:07:41 +00:00
default-apps default-apps: Connect signals with g_signal_connect_object in swapped form 2020-03-30 16:18:49 +13:00
diagnostics Replace HdyColumn by HdyClamp 2020-07-20 08:04:28 +02:00
display display-panel: Allow for smaller display sizes 2021-02-11 02:44:19 +00:00
info-overview info-overview: Implements usage of os-release to search for the OS logo 2021-02-11 14:04:14 +01:00
keyboard keyboard: Improve Empty Search State. 2021-02-12 15:41:10 +13:00
location location-panel: Allow label to wrap 2021-03-12 14:16:31 +00:00
lock Stop using the action HdyActionRow child type 2020-07-20 08:04:28 +02:00
microphone Replace HdyColumn by HdyClamp 2020-07-20 08:04:28 +02:00
mouse mouse: Allow horizontal scroll in mouse test page 2021-02-23 12:14:39 +00:00
network network/connection-editor: Fixup creation of the netmask widget 2021-03-09 00:43:08 +00:00
notifications notifications: Move adjustment widget into GtkBuilder file 2020-12-11 18:41:22 +00:00
online-accounts online-accounts: Replace g_object_new with gtk widget methods 2020-10-19 04:07:53 +00:00
power power: Fix possible assertion on startup 2021-03-31 11:12:17 +02:00
printers printers: Ensure PPD copy is always deleted 2021-02-15 10:34:32 +13:00
region region: update the locale format along with the language when it changes 2021-01-10 21:01:20 +00:00
removable-media removable-media: Replace ifdefs with #pragma once 2019-11-27 21:56:10 +00:00
search search: Check for either tracker 2.x or 3.x schemas 2020-11-02 21:47:22 +00:00
sharing sharing: Also disable Tracker3 2020-10-29 20:31:17 +00:00
sound sound: Update mute button icon when volume changes 2021-02-21 15:30:40 +00:00
thunderbolt thunderbolt: Remove unused BINDIR define 2020-12-13 21:45:56 +00:00
universal-access universal-access: Look up double-click setting in the right schema 2021-02-18 16:08:53 +01:00
usage Stop using the action HdyActionRow child type 2020-07-20 08:04:28 +02:00
user-accounts user-accounts: Add missing GTK_WIDGET cast 2021-02-11 16:14:47 +13:00
wacom wacom: Fix a critical warning if loading a cursor fails 2020-11-02 21:41:03 +00:00
meson.build Remove the privacy panel 2019-11-07 14:40:07 +13:00