]> git.pld-linux.org Git - packages/synapse.git/blob - synapse-gtk_timeout.patch
- add missing patch
[packages/synapse.git] / synapse-gtk_timeout.patch
1 diff --git a/src/ui/inspector.vala b/src/ui/inspector.vala
2 index b5ec8be..b608a2f 100644
3 --- a/src/ui/inspector.vala
4 +++ b/src/ui/inspector.vala
5 @@ -28,7 +28,7 @@ namespace UI
6  
7      public Inspector ()
8      {
9 -      timer_id = Timeout.add (500, this.check_window_at_pointer);
10 +      timer_id = Gtk.Timeout.add (500, this.check_window_at_pointer);
11      }
12    
13      ~Inspector ()
14 diff --git a/src/ui/widgets-matchlistview.vala b/src/ui/widgets-matchlistview.vala
15 index 2c7b1a7..8a77d74 100644
16 --- a/src/ui/widgets-matchlistview.vala
17 +++ b/src/ui/widgets-matchlistview.vala
18 @@ -551,7 +551,7 @@ namespace Synapse.Gui
19        }
20        if (needs_animation)
21        {
22 -        if (tid == 0) tid = Timeout.add (ANIM_TIMEOUT, this.update_current_offsets);
23 +        if (tid == 0) tid = Gtk.Timeout.add (ANIM_TIMEOUT, this.update_current_offsets);
24          this.queue_draw ();
25          return true;
26        }
27 @@ -734,7 +734,7 @@ namespace Synapse.Gui
28            this.inhibit_move = true;
29            this.set_indexes (this.dragdrop_target_item, this.dragdrop_target_item);
30            this.selected_index_changed (this.select_index);
31 -          Timeout.add (Gtk.Settings.get_default ().gtk_double_click_time ,()=>{
32 +          Gtk.Timeout.add (Gtk.Settings.get_default ().gtk_double_click_time ,()=>{
33              if (inhibit_move)
34              {
35                inhibit_move = false;
36 diff --git a/src/ui/widgets.vala b/src/ui/widgets.vala
37 index 2dd8f16..3acf736 100644
38 --- a/src/ui/widgets.vala
39 +++ b/src/ui/widgets.vala
40 @@ -185,7 +185,7 @@ namespace Synapse.Gui
41      {
42        if (tid != 0) return;
43  
44 -      tid = Timeout.add (40, ()=>{
45 +      tid = Gtk.Timeout.add (40, ()=>{
46          offset = (offset - 1) % (_anim_width);
47          queue_draw ();
48          return true;
49 @@ -245,7 +245,7 @@ namespace Synapse.Gui
50        {
51          if (tid == 0)
52          {
53 -          tid = Timeout.add (INITIAL_TIMEOUT, ()=>{
54 +          tid = Gtk.Timeout.add (INITIAL_TIMEOUT, ()=>{
55              tid = 0;
56              start_animation ();
57              return false;
58 @@ -1085,7 +1085,7 @@ namespace Synapse.Gui
59        }
60        if (tid == 0)
61        {
62 -        tid = Timeout.add (30, ()=>{
63 +        tid = Gtk.Timeout.add (30, ()=>{
64            return update_current_offset ();
65          });
66        }
67 @@ -1121,7 +1121,7 @@ namespace Synapse.Gui
68        });
69        this.size_allocate.connect (()=>{
70          if (tid == 0)
71 -          tid = Timeout.add (30, ()=>{
72 +          tid = Gtk.Timeout.add (30, ()=>{
73              return update_current_offset ();
74            });
75        });
This page took 0.047285 seconds and 3 git commands to generate.