This is an automated email from the git hooks/post-receive script.

f2404 pushed a 
commit to branch 
master
in repository apps/xfce4-terminal.

commit 0a904b6bb1a09bcf5fd8a2878f9367375d4dbc1b
Author: Igor <[email protected]>
Date:   Fri Sep 6 12:42:48 2019 -0400

    Replace GLib threading functions with their GDK counterparts
---
 terminal/terminal-app.c             |  6 +++---
 terminal/terminal-preferences.c     |  4 ++--
 terminal/terminal-window-dropdown.c | 16 ++++++++--------
 terminal/terminal-window.c          |  2 +-
 4 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/terminal/terminal-app.c b/terminal/terminal-app.c
index 27cfbf8..f714b77 100644
--- a/terminal/terminal-app.c
+++ b/terminal/terminal-app.c
@@ -151,8 +151,8 @@ terminal_app_init (TerminalApp *app)
   terminal_app_update_mnemonics (app);
 
   /* schedule accel map load and update windows when finished */
-  app->accel_map_load_id = g_idle_add_full (G_PRIORITY_LOW, 
terminal_app_accel_map_load, app,
-                                            
terminal_app_update_windows_accels);
+  app->accel_map_load_id = gdk_threads_add_idle_full (G_PRIORITY_LOW, 
terminal_app_accel_map_load, app,
+                                                      
terminal_app_update_windows_accels);
 }
 
 
@@ -316,7 +316,7 @@ terminal_app_accel_map_changed (TerminalApp *app)
     }
 
   /* schedule new save */
-  app->accel_map_save_id = g_timeout_add_seconds (10, 
terminal_app_accel_map_save, app);
+  app->accel_map_save_id = gdk_threads_add_timeout_seconds (10, 
terminal_app_accel_map_save, app);
 }
 
 
diff --git a/terminal/terminal-preferences.c b/terminal/terminal-preferences.c
index c356db5..d9228e3 100644
--- a/terminal/terminal-preferences.c
+++ b/terminal/terminal-preferences.c
@@ -1506,8 +1506,8 @@ terminal_preferences_schedule_store (TerminalPreferences 
*preferences)
   if (preferences->store_idle_id == 0 && !preferences->loading_in_progress)
     {
       preferences->store_idle_id =
-          g_timeout_add_seconds_full (G_PRIORITY_LOW, 1, 
terminal_preferences_store_idle,
-                                      preferences, 
terminal_preferences_store_idle_destroy);
+          gdk_threads_add_timeout_seconds_full (G_PRIORITY_LOW, 1, 
terminal_preferences_store_idle,
+                                                preferences, 
terminal_preferences_store_idle_destroy);
     }
 }
 
diff --git a/terminal/terminal-window-dropdown.c 
b/terminal/terminal-window-dropdown.c
index 791a53c..dabdebc 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -500,8 +500,8 @@ terminal_window_dropdown_focus_out_event (GtkWidget     
*widget,
             {
               /* focus-out with keyboard grab */
               dropdown->grab_timeout_id =
-                  g_timeout_add_full (G_PRIORITY_DEFAULT_IDLE, 50, 
terminal_window_dropdown_can_grab,
-                                      dropdown, 
terminal_window_dropdown_can_grab_destroyed);
+                  gdk_threads_add_timeout_full (G_PRIORITY_DEFAULT_IDLE, 50, 
terminal_window_dropdown_can_grab,
+                                                dropdown, 
terminal_window_dropdown_can_grab_destroyed);
             }
         }
 
@@ -746,9 +746,9 @@ terminal_window_dropdown_hide (TerminalWindowDropdown 
*dropdown)
     {
       dropdown->animation_dir = ANIMATION_DIR_UP;
       dropdown->animation_timeout_id =
-          g_timeout_add_full (G_PRIORITY_DEFAULT_IDLE, ANIMATION_FPS,
-                              terminal_window_dropdown_animate_up, dropdown,
-                              terminal_window_dropdown_animate_destroyed);
+          gdk_threads_add_timeout_full (G_PRIORITY_DEFAULT_IDLE, ANIMATION_FPS,
+                                        terminal_window_dropdown_animate_up, 
dropdown,
+                                        
terminal_window_dropdown_animate_destroyed);
     }
   else
     {
@@ -879,9 +879,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
     {
       dropdown->animation_dir = ANIMATION_DIR_DOWN;
       dropdown->animation_timeout_id =
-          g_timeout_add_full (G_PRIORITY_DEFAULT_IDLE, ANIMATION_FPS,
-                              terminal_window_dropdown_animate_down, dropdown,
-                              terminal_window_dropdown_animate_destroyed);
+          gdk_threads_add_timeout_full (G_PRIORITY_DEFAULT_IDLE, ANIMATION_FPS,
+                                        terminal_window_dropdown_animate_down, 
dropdown,
+                                        
terminal_window_dropdown_animate_destroyed);
     }
   else
     {
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 9743838..5491ff3 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -729,7 +729,7 @@ terminal_window_style_set (GtkWidget *widget,
 
   /* delay the pop until after size allocate */
   if (previous_style != NULL)
-    g_idle_add (terminal_window_size_pop, window);
+    gdk_threads_add_idle (terminal_window_size_pop, window);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to