[gnome-panel] panel-applet-frame: add autocleanup function



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]