mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-10 20:48:54 +02:00
Merge branch 'bookmarkfile-self-move' into 'master'
bookmarkfile: Don't move an item if the uri has not changed Closes #1588 See merge request GNOME/glib!456
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -94,6 +94,13 @@ test_move_item (void)
|
|||||||
g_assert (res);
|
g_assert (res);
|
||||||
g_assert_no_error (error);
|
g_assert_no_error (error);
|
||||||
|
|
||||||
|
res = g_bookmark_file_move_item (bookmark,
|
||||||
|
"file:///tmp/schedule.ps",
|
||||||
|
"file:///tmp/schedule.ps",
|
||||||
|
&error);
|
||||||
|
g_assert (res);
|
||||||
|
g_assert_no_error (error);
|
||||||
|
|
||||||
res = g_bookmark_file_move_item (bookmark,
|
res = g_bookmark_file_move_item (bookmark,
|
||||||
"file:///no-such-file.xbel",
|
"file:///no-such-file.xbel",
|
||||||
"file:///tmp/schedule.ps",
|
"file:///tmp/schedule.ps",
|
||||||
|
Reference in New Issue
Block a user