[gnome-panel/wip/muktupavels/launcher: 4/6] applet-frame: use gp_applet_remove_from_panel
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip/muktupavels/launcher: 4/6] applet-frame: use gp_applet_remove_from_panel
- Date: Sun, 12 Apr 2020 14:41:41 +0000 (UTC)
commit 1dd0e2d0245f5b5d3e8d824d26354706a8449e09
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Apr 12 13:15:10 2020 +0300
applet-frame: use gp_applet_remove_from_panel
gnome-panel/libpanel-applet-private/gp-applet-frame.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/gnome-panel/libpanel-applet-private/gp-applet-frame.c
b/gnome-panel/libpanel-applet-private/gp-applet-frame.c
index 7dbdc5272..0e97ed854 100644
--- a/gnome-panel/libpanel-applet-private/gp-applet-frame.c
+++ b/gnome-panel/libpanel-applet-private/gp-applet-frame.c
@@ -54,6 +54,12 @@ static void
remove_cb (GtkMenuItem *menuitem,
PanelAppletFrame *applet_frame)
{
+ GpAppletFrame *frame;
+
+ frame = GP_APPLET_FRAME (applet_frame);
+
+ gp_applet_remove_from_panel (frame->applet);
+
_panel_applet_frame_applet_remove (applet_frame);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]