Commit bf77817b authored by Vincent Untz's avatar Vincent Untz

[panel] Initialize GError to NULL in panel_launcher_create_from_info()

Should fix https://bugzilla.gnome.org/show_bug.cgi?id=594054
parent ad8d6aaf
......@@ -955,6 +955,8 @@ panel_launcher_create_from_info (PanelToplevel *toplevel,
}
location = panel_make_unique_desktop_uri (NULL, exec_or_uri);
error = NULL;
if (panel_key_file_to_file (key_file, location, &error)) {
panel_launcher_create (toplevel, position, location);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment