[devhelp] App: remove dh_app_raise() public function



commit fea24e31c59dde0b8a45e5b5f03846792b0f4b9a
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Dec 15 13:33:31 2017 +0100

    App: remove dh_app_raise() public function

 src/dh-app.c |   10 +---------
 src/dh-app.h |    2 --
 2 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/src/dh-app.c b/src/dh-app.c
index 9c6d71f..394deb6 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -119,14 +119,6 @@ search_assistant (DhApp       *app,
                                         g_variant_new_string (keyword));
 }
 
-void
-dh_app_raise (DhApp *app)
-{
-        g_return_if_fail (DH_IS_APP (app));
-
-        g_action_group_activate_action (G_ACTION_GROUP (app), "raise", NULL);
-}
-
 /******************************************************************************/
 /* Application actions setup */
 
@@ -511,7 +503,7 @@ dh_app_command_line (GApplication            *app,
         } else if (option_search_assistant) {
                 search_assistant (DH_APP (app), option_search_assistant);
         } else {
-                dh_app_raise (DH_APP (app));
+                g_action_group_activate_action (G_ACTION_GROUP (app), "raise", NULL);
         }
 
         return 0;
diff --git a/src/dh-app.h b/src/dh-app.h
index fb90224..45ba059 100644
--- a/src/dh-app.h
+++ b/src/dh-app.h
@@ -49,8 +49,6 @@ GtkWindow *     dh_app_peek_first_window        (DhApp *app);
 
 void            dh_app_new_window               (DhApp *app);
 
-void            dh_app_raise                    (DhApp *app);
-
 gboolean        _dh_app_has_app_menu            (DhApp *app);
 
 G_END_DECLS


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