[gnome-panel] applet: make panel_applet_position_menu static
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] applet: make panel_applet_position_menu static
- Date: Sun, 16 Sep 2018 09:57:34 +0000 (UTC)
commit c6030d729e73e5cf0a9dd104cff143d04c73e5cc
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Sep 16 01:52:05 2018 +0300
applet: make panel_applet_position_menu static
gnome-panel/applet.c | 2 +-
gnome-panel/applet.h | 5 -----
2 files changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/gnome-panel/applet.c b/gnome-panel/applet.c
index 71fa814e9..5ca8aac17 100644
--- a/gnome-panel/applet.c
+++ b/gnome-panel/applet.c
@@ -484,7 +484,7 @@ panel_applet_get_edit_menu (AppletInfo *info)
return info->edit_menu;
}
-void
+static void
panel_applet_position_menu (GtkMenu *menu,
int *x,
int *y,
diff --git a/gnome-panel/applet.h b/gnome-panel/applet.h
index 878a9e819..813e4f91d 100644
--- a/gnome-panel/applet.h
+++ b/gnome-panel/applet.h
@@ -82,11 +82,6 @@ GSettings *panel_applet_get_settings (AppletInfo *applet);
(position, toplevel_id, panel_right_stick) */
gboolean panel_applet_can_freely_move (AppletInfo *applet);
-void panel_applet_position_menu (GtkMenu *menu,
- int *x,
- int *y,
- gboolean *push_in,
- GtkWidget *applet);
G_END_DECLS
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]