[gnome-panel] libpanel-util: remove panel_app_info_launch_uri



commit 2908c24018ceb84c5b4b5093230caaad9b109cb8
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Mar 8 01:55:12 2020 +0200

    libpanel-util: remove panel_app_info_launch_uri

 gnome-panel/libpanel-util/panel-launch.c | 26 --------------------------
 gnome-panel/libpanel-util/panel-launch.h |  6 ------
 2 files changed, 32 deletions(-)
---
diff --git a/gnome-panel/libpanel-util/panel-launch.c b/gnome-panel/libpanel-util/panel-launch.c
index 4ba2369bb..9b72a9e05 100644
--- a/gnome-panel/libpanel-util/panel-launch.c
+++ b/gnome-panel/libpanel-util/panel-launch.c
@@ -132,32 +132,6 @@ panel_app_info_launch_uris (GAppInfo   *appinfo,
                                           screen, local_error, error);
 }
 
-gboolean
-panel_app_info_launch_uri (GAppInfo     *appinfo,
-                          const gchar  *uri,
-                          GdkScreen    *screen,
-                          guint32       timestamp,
-                          GError      **error)
-{
-       GList    *uris;
-       gboolean  retval;
-
-       g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
-       g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE);
-       g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
-
-       uris = NULL;
-       if (uri)
-               uris = g_list_prepend (uris, (gpointer) uri);
-
-       retval = panel_app_info_launch_uris (appinfo, uris,
-                                            screen, timestamp, error);
-
-       g_list_free (uris);
-
-       return retval;
-}
-
 gboolean
 panel_launch_key_file (GKeyFile   *keyfile,
                       GList      *uri_list,
diff --git a/gnome-panel/libpanel-util/panel-launch.h b/gnome-panel/libpanel-util/panel-launch.h
index 5702d922d..946605d3e 100644
--- a/gnome-panel/libpanel-util/panel-launch.h
+++ b/gnome-panel/libpanel-util/panel-launch.h
@@ -34,12 +34,6 @@ gboolean panel_app_info_launch_uris (GAppInfo   *appinfo,
                                     guint32     timestamp,
                                     GError    **error);
 
-gboolean panel_app_info_launch_uri (GAppInfo     *appinfo,
-                                   const gchar  *uri,
-                                   GdkScreen    *screen,
-                                   guint32       timestamp,
-                                   GError      **error);
-
 gboolean panel_launch_key_file (GKeyFile   *keyfile,
                                GList      *uri_list,
                                GdkScreen  *screen,


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