Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37849127
en ru br
ALT Linux repositórios
S:7.1.0-alt1

Group :: Editores
RPM: scratch-text-editor

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: scratch-text-editor-2.4.1-up-vala_0.36.patch
Download


=== modified file 'plugins/clipboard-history/ClipboardHistory.vala'
--- plugins/clipboard-history/ClipboardHistory.vala	2015-12-01 11:33:12 +0000
+++ plugins/clipboard-history/ClipboardHistory.vala	2017-02-27 13:01:32 +0000
@@ -90,7 +90,11 @@
         
         // 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 @@
         });
 
         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 @@
         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))
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009