![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package synapse for openSUSE:Factory checked in at 2013-09-07 07:46:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/synapse (Old) and /work/SRC/openSUSE:Factory/.synapse.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "synapse" Changes: -------- --- /work/SRC/openSUSE:Factory/synapse/synapse.changes 2012-12-03 11:34:16.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.synapse.new/synapse.changes 2013-09-07 07:46:19.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Sep 3 12:50:24 UTC 2013 - dimstar@opensuse.org + +- Add synapse-gnome-3.10.patch: Explicitly choose Gtk.Timeout to + fix build. + +------------------------------------------------------------------- New: ---- synapse-gnome-3.10.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ synapse.spec ++++++ --- /var/tmp/diff_new_pack.dNggM4/_old 2013-09-07 07:46:19.000000000 +0200 +++ /var/tmp/diff_new_pack.dNggM4/_new 2013-09-07 07:46:19.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package synapse # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ Source0: http://launchpad.net/synapse-project/0.2/%{version}/+download/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM synapse-fix-border-painting.patch bnc#792215 dvaleev@suse.com -- Fix border painting, taken from upstream vcs, rev 504. Patch0: synapse-fix-border-painting.patch +# PATCH-FIX-OPENSUSE synapse-gnome-3.10.patch dimstar@opensuse.org -- Fix build against GNOME 3.10 +Patch1: synapse-gnome-3.10.patch BuildRequires: intltool BuildRequires: update-desktop-files BuildRequires: vala >= 0.14.0 @@ -50,6 +52,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %configure --disable-static ++++++ synapse-gnome-3.10.patch ++++++ Index: synapse-0.2.10/src/ui/inspector.vala =================================================================== --- synapse-0.2.10.orig/src/ui/inspector.vala +++ synapse-0.2.10/src/ui/inspector.vala @@ -28,7 +28,7 @@ namespace UI public Inspector () { - timer_id = Timeout.add (500, this.check_window_at_pointer); + timer_id = Gtk.Timeout.add (500, this.check_window_at_pointer); } ~Inspector () Index: synapse-0.2.10/src/ui/widgets-matchlistview.vala =================================================================== --- synapse-0.2.10.orig/src/ui/widgets-matchlistview.vala +++ synapse-0.2.10/src/ui/widgets-matchlistview.vala @@ -551,7 +551,7 @@ namespace Synapse.Gui } if (needs_animation) { - if (tid == 0) tid = Timeout.add (ANIM_TIMEOUT, this.update_current_offsets); + if (tid == 0) tid = Gtk.Timeout.add (ANIM_TIMEOUT, this.update_current_offsets); this.queue_draw (); return true; } @@ -734,7 +734,7 @@ namespace Synapse.Gui this.inhibit_move = true; this.set_indexes (this.dragdrop_target_item, this.dragdrop_target_item); this.selected_index_changed (this.select_index); - Timeout.add (Gtk.Settings.get_default ().gtk_double_click_time ,()=>{ + Gtk.Timeout.add (Gtk.Settings.get_default ().gtk_double_click_time ,()=>{ if (inhibit_move) { inhibit_move = false; Index: synapse-0.2.10/src/ui/widgets.vala =================================================================== --- synapse-0.2.10.orig/src/ui/widgets.vala +++ synapse-0.2.10/src/ui/widgets.vala @@ -185,7 +185,7 @@ namespace Synapse.Gui { if (tid != 0) return; - tid = Timeout.add (40, ()=>{ + tid = Gtk.Timeout.add (40, ()=>{ offset = (offset - 1) % (_anim_width); queue_draw (); return true; @@ -245,7 +245,7 @@ namespace Synapse.Gui { if (tid == 0) { - tid = Timeout.add (INITIAL_TIMEOUT, ()=>{ + tid = Gtk.Timeout.add (INITIAL_TIMEOUT, ()=>{ tid = 0; start_animation (); return false; @@ -1085,7 +1085,7 @@ namespace Synapse.Gui } if (tid == 0) { - tid = Timeout.add (30, ()=>{ + tid = Gtk.Timeout.add (30, ()=>{ return update_current_offset (); }); } @@ -1121,7 +1121,7 @@ namespace Synapse.Gui }); this.size_allocate.connect (()=>{ if (tid == 0) - tid = Timeout.add (30, ()=>{ + tid = Gtk.Timeout.add (30, ()=>{ return update_current_offset (); }); }); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org