gtksearchengine: Add autoptr handler for this type
So subclasses can just use G_DECLARE_*_TYPE.
This commit is contained in:
parent
99031f885e
commit
5858f7c5bd
@ -40,6 +40,8 @@ typedef struct _GtkSearchEngineClass GtkSearchEngineClass;
|
|||||||
typedef struct _GtkSearchEnginePrivate GtkSearchEnginePrivate;
|
typedef struct _GtkSearchEnginePrivate GtkSearchEnginePrivate;
|
||||||
typedef struct _GtkSearchHit GtkSearchHit;
|
typedef struct _GtkSearchHit GtkSearchHit;
|
||||||
|
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GtkSearchEngine, g_object_unref)
|
||||||
|
|
||||||
struct _GtkSearchHit
|
struct _GtkSearchHit
|
||||||
{
|
{
|
||||||
GFile *file;
|
GFile *file;
|
||||||
|
Loading…
Reference in New Issue
Block a user