[gnome-robots/arnaudb/wip/gtk4: 21/45] Adapt a method.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/arnaudb/wip/gtk4: 21/45] Adapt a method.
- Date: Tue, 15 Sep 2020 14:46:49 +0000 (UTC)
commit d2100d1f49d6b7bce7a295ec45e003b3a6089be8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon May 25 16:00:29 2020 +0200
Adapt a method.
src/gnome-robots.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index 20cc065..6fe578a 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -201,12 +201,7 @@ scores_cb (GSimpleAction *action, GVariant *parameter, gpointer user_data)
static void
help_cb (GSimpleAction *action, GVariant *parameter, gpointer user_data)
{
- GError *error = NULL;
-
- gtk_show_uri_on_window (GTK_WINDOW (window), "help:gnome-robots", gtk_get_current_event_time (), &error);
- if (error)
- g_warning ("Failed to show help: %s", error->message);
- g_clear_error (&error);
+ gtk_show_uri (GTK_WINDOW (window), "help:gnome-robots", GDK_CURRENT_TIME);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]