[gnome-panel] panel-applet-frame: add autocleanup function
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] panel-applet-frame: add autocleanup function
- Date: Mon, 17 Oct 2016 17:29:44 +0000 (UTC)
commit 4f67d9d436c1e316082245373862bd82c468cf8c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Oct 17 20:27:03 2016 +0300
panel-applet-frame: add autocleanup function
gnome-panel/panel-applet-frame.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-panel/panel-applet-frame.h b/gnome-panel/panel-applet-frame.h
index 3af0be4..e98bb4c 100644
--- a/gnome-panel/panel-applet-frame.h
+++ b/gnome-panel/panel-applet-frame.h
@@ -41,6 +41,8 @@ typedef struct _PanelAppletFrame PanelAppletFrame;
typedef struct _PanelAppletFrameClass PanelAppletFrameClass;
typedef struct _PanelAppletFramePrivate PanelAppletFramePrivate;
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PanelAppletFrame, g_object_unref)
+
struct _PanelAppletFrameClass {
GtkEventBoxClass parent_class;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]