[gnome-builder] gui: use wrapper to open help window



commit 5c341e9322a54dee0fbdbafc1eb5875377617236
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 23 19:17:04 2019 -0800

    gui: use wrapper to open help window

 src/libide/gui/ide-application-actions.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/gui/ide-application-actions.c b/src/libide/gui/ide-application-actions.c
index 3c1c2a676..5714c5fc9 100644
--- a/src/libide/gui/ide-application-actions.c
+++ b/src/libide/gui/ide-application-actions.c
@@ -184,7 +184,7 @@ ide_application_actions_help_cb (GObject      *object,
   if (g_network_monitor_can_reach_finish (monitor, result, NULL))
     {
       g_debug ("Can reach documentation site, opening online");
-      if (gtk_show_uri_on_window (focused_window, DOCS_URI, gtk_get_current_event_time (), NULL))
+      if (ide_gtk_show_uri_on_window (focused_window, DOCS_URI, g_get_monotonic_time (), NULL))
         IDE_EXIT;
     }
 
@@ -209,7 +209,7 @@ ide_application_actions_help_cb (GObject      *object,
 
       g_debug ("Documentation URI: %s", uri);
 
-      if (!ide_gtk_show_uri_on_window (focused_window, uri, gtk_get_current_event_time (), &error))
+      if (!ide_gtk_show_uri_on_window (focused_window, uri, g_get_monotonic_time (), &error))
         g_warning ("Failed to load documentation: %s", error->message);
 
       IDE_EXIT;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]