46 lines
2.0 KiB
Diff
46 lines
2.0 KiB
Diff
diff -urp gnome-settings-daemon-3.33.90.orig/plugins/media-keys/gsd-media-keys-manager.c gnome-settings-daemon-3.33.90/plugins/media-keys/gsd-media-keys-manager.c
|
|
--- gnome-settings-daemon-3.33.90.orig/plugins/media-keys/gsd-media-keys-manager.c 2019-08-05 18:40:19.000000000 -0500
|
|
+++ gnome-settings-daemon-3.33.90/plugins/media-keys/gsd-media-keys-manager.c 2019-08-31 06:38:56.889827801 -0500
|
|
@@ -374,7 +374,7 @@ get_key_string (MediaKey *key)
|
|
else if (key->custom_path != NULL)
|
|
return g_strdup_printf ("custom:%s", key->custom_path);
|
|
else
|
|
- g_assert_not_reached ();
|
|
+ return NULL;
|
|
}
|
|
|
|
static GStrv
|
|
@@ -416,7 +416,7 @@ get_bindings (GsdMediaKeysManager *manag
|
|
key->custom_path);
|
|
binding = g_settings_get_string (settings, "binding");
|
|
} else
|
|
- g_assert_not_reached ();
|
|
+ return NULL;
|
|
|
|
array = g_ptr_array_new ();
|
|
g_ptr_array_add (array, binding);
|
|
diff -urp gnome-settings-daemon-3.33.90.orig/plugins/rfkill/rfkill-glib.c gnome-settings-daemon-3.33.90/plugins/rfkill/rfkill-glib.c
|
|
--- gnome-settings-daemon-3.33.90.orig/plugins/rfkill/rfkill-glib.c 2019-08-05 18:40:19.000000000 -0500
|
|
+++ gnome-settings-daemon-3.33.90/plugins/rfkill/rfkill-glib.c 2019-08-31 06:39:55.674139424 -0500
|
|
@@ -268,7 +268,7 @@ op_to_string (unsigned int op)
|
|
case RFKILL_OP_CHANGE_ALL:
|
|
return "CHANGE_ALL";
|
|
default:
|
|
- g_assert_not_reached ();
|
|
+ return "NULL";
|
|
}
|
|
}
|
|
|
|
diff -urp gnome-settings-daemon-3.33.90.orig/plugins/xsettings/xsettings-manager.c gnome-settings-daemon-3.33.90/plugins/xsettings/xsettings-manager.c
|
|
--- gnome-settings-daemon-3.33.90.orig/plugins/xsettings/xsettings-manager.c 2019-08-05 18:40:19.000000000 -0500
|
|
+++ gnome-settings-daemon-3.33.90/plugins/xsettings/xsettings-manager.c 2019-08-31 06:40:54.030448794 -0500
|
|
@@ -268,7 +268,7 @@ xsettings_get_typecode (GVariant *value)
|
|
case G_VARIANT_CLASS_TUPLE:
|
|
return XSETTINGS_TYPE_COLOR;
|
|
default:
|
|
- g_assert_not_reached ();
|
|
+ return NULL;
|
|
}
|
|
}
|
|
|