When opening xfce4-session-settings I get the following log output (includes my own debug lines): (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: name = Program (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: value = "pulseaudio" (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: name = RestartStyleHint (xfce4-session:2241): GLib-GObject-CRITICAL **: 11:24:11.061: g_strdup_value_contents: assertion 'G_IS_VALUE (value)' failed (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: value = (null) (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: Value type not supported (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: name = ProcessID (xfce4-session:2241): GLib-GObject-CRITICAL **: 11:24:11.061: g_strdup_value_contents: assertion 'G_IS_VALUE (value)' failed (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: value = (null) (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: Value type not supported (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: name = _GSM_Priority (xfce4-session:2241): GLib-GObject-CRITICAL **: 11:24:11.061: g_strdup_value_contents: assertion 'G_IS_VALUE (value)' failed (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: value = (null) (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: Value type not supported (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: name = _GSM_DesktopFile (xfce4-session:2241): GLib-GObject-CRITICAL **: 11:24:11.061: g_strdup_value_contents: assertion 'G_IS_VALUE (value)' failed (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: value = (null) (xfce4-session:2241): xfce4-session-WARNING **: 11:24:11.061: xfsm_client.c:builder_add_value: Value type not supported
Created attachment 8863 diff I guess adding a simple check does the job.
I can reproduce the warning " Value type not supported", but your patch didn't silence it
Created attachment 9661 patch Skunnyk has confirmed that the fix worked after restarting xfce4-session.
Theo Linkspfeifer referenced this bugreport in commit ec016b693d824a4c752d7c5bb84132ec9eaf88f1 Silence runtime warning (Bug #15731) https://gitlab.xfce.org/xfce/xfce4-session/commit/ec016b693d824a4c752d7c5bb84132ec9eaf88f1
Thank you !f
Theo Linkspfeifer referenced this bugreport in commit 2fca52d8b7e1b80f95dc0f0cf12020475bd7de4a Silence runtime warning (Bug #15731) https://gitlab.xfce.org/xfce/xfce4-session/commit/2fca52d8b7e1b80f95dc0f0cf12020475bd7de4a