mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 08:35:36 +00:00
18 lines
306 B
C
18 lines
306 B
C
|
/* object.c : Glue to clean up GtkObject references.
|
||
|
*
|
||
|
* Author: Mike Kestner <mkestner@speakeasy.net>
|
||
|
*
|
||
|
* <c> 2002 Mike Kestner
|
||
|
*/
|
||
|
|
||
|
#include <glib-object.h>
|
||
|
#include <gtk/gtkobject.h>
|
||
|
|
||
|
void
|
||
|
gtksharp_object_unref_if_floating (GObject *obj)
|
||
|
{
|
||
|
if (GTK_OBJECT_FLOATING (obj))
|
||
|
g_object_unref (obj);
|
||
|
}
|
||
|
|