mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-03 22:45:26 +00:00
if the geometry string is empty, make it NULL, so that we don't trigger
2009-03-07 Cosimo Cecchi <cosimoc@gnome.org> * src/nautilus-application.c (_unique_message_data_get_geometry_and_uris): if the geometry string is empty, make it NULL, so that we don't trigger geometry parsing later (#574410). svn path=/trunk/; revision=15063
This commit is contained in:
parent
cbfbbc69ad
commit
29106dfb40
|
@ -1,3 +1,10 @@
|
|||
2009-03-07 Cosimo Cecchi <cosimoc@gnome.org>
|
||||
|
||||
* src/nautilus-application.c
|
||||
(_unique_message_data_get_geometry_and_uris): if the geometry
|
||||
string is empty, make it NULL, so that we don't trigger geometry
|
||||
parsing later (#574410).
|
||||
|
||||
2009-03-06 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
Bug 569668 – Don't allow changing default app for folders
|
||||
|
|
|
@ -188,7 +188,13 @@ _unique_message_data_get_geometry_and_uris (UniqueMessageData *message_data,
|
|||
result = g_uri_list_extract_uris (uris);
|
||||
g_free (text);
|
||||
}
|
||||
|
||||
|
||||
/* if the string is empty, make it NULL */
|
||||
if (*geometry && strlen (*geometry) == 0) {
|
||||
g_free (*geometry);
|
||||
*geometry = NULL;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue