Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Backports:SLE-15-SP1:Update
scratch
scratch-2.4.1-vala-0.36.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scratch-2.4.1-vala-0.36.patch of Package scratch
--- a/plugins/clipboard-history/ClipboardHistory.vala +++ b/plugins/clipboard-history/ClipboardHistory.vala @@ -90,7 +90,11 @@ public class Scratch.Plugins.ClipboardHi // Delete last item, if the size of the list store > MAX_SIZE if (list_store.get_iter_from_string (out iter, (MAX_SIZE - 1).to_string ())) +#if VALA_0_36 + list_store.remove (ref iter); +#else list_store.remove (iter); +#endif // Delete dupplicates from list store, if exists delete_dupplicates (clipboard_content); @@ -143,7 +147,11 @@ public class Scratch.Plugins.ClipboardHi }); if (to_delete != null) +#if VALA_0_36 + list_store.remove (ref to_delete); +#else list_store.remove (to_delete); +#endif } void build_plugin_ui () { @@ -214,7 +222,11 @@ public class Scratch.Plugins.ClipboardHi if (!selection.get_selected(out model, out iter)) { return; } +#if VALA_0_36 + list_store.remove (ref iter); +#else list_store.remove (iter); +#endif // Hiding PlugIn, if no more items exist in the list store. if (!list_store.get_iter_first (out iter))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor