[gtk: 1/2] show: remove obsolete comment
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] show: remove obsolete comment
- Date: Mon, 3 Aug 2020 16:22:21 +0000 (UTC)
commit c8d51a7b98cdeb15b88614dbfa7bdda293643758
Author: Alex <alex-gitlab x6izqcc7 alxu ca>
Date: Mon Aug 3 15:36:36 2020 +0000
show: remove obsolete comment
g_app_info_launch_default_for_uri supports x-scheme-handler directly since at least 2.27.1, released
almost 10 years ago.
Link: https://bugzilla.gnome.org/show_bug.cgi?id=631410
Link: https://gitlab.gnome.org/GNOME/glib/-/commit/9b262f1c5fe5a6fd879f17cd7b80d8c54e33d80c
gtk/gtkshow.c | 16 ----------------
1 file changed, 16 deletions(-)
---
diff --git a/gtk/gtkshow.c b/gtk/gtkshow.c
index 1b4659714d..4de007fa95 100644
--- a/gtk/gtkshow.c
+++ b/gtk/gtkshow.c
@@ -91,14 +91,6 @@ window_handle_exported (GtkWindow *window,
* This function launches the default application for showing
* a given uri.
*
- * The uri must be of a form understood by GIO (i.e. you need
- * to install gvfs to get support for uri schemes such as http://
- * or ftp://, as only local files are handled by GIO itself).
- * Typical examples are
- * - `file:///home/gnome/pict.jpg`
- * - `http://www.gnome.org`
- * - `mailto:me gnome org`
- *
* The @callback will be called when the launch is completed.
* It should call gtk_show_uri_full_finish() to obtain the result.
*
@@ -203,14 +195,6 @@ show_uri_done (GObject *object,
*
* This function launches the default application for showing
* a given uri, or shows an error dialog if that fails.
- *
- * The uri must be of a form understood by GIO (i.e. you need
- * to install gvfs to get support for uri schemes such as http://
- * or ftp://, as only local files are handled by GIO itself).
- * Typical examples are
- * - `file:///home/gnome/pict.jpg`
- * - `http://www.gnome.org`
- * - `mailto:me gnome org`
*/
void
gtk_show_uri (GtkWindow *parent,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]