mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 17:25:37 +00:00
e83c55a242
* */Makefile.am : automakify the build * */Makefile.in : kill * *.custom : remove System.Drawing dependencies * *.cs : remove System.Drawing dependencies * *-api.xml : mv to *-api.raw * glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade. * gtk/gtk-symbols : alias GtkType to GType * sources/gtk-sharp-sources.xml : create .raw files. They are now transformed to .xml files by the metadata compilation step. svn path=/trunk/gtk-sharp/; revision=23967
29 lines
544 B
C
29 lines
544 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>
|
|
|
|
/* Forward declarations */
|
|
void gtksharp_object_unref_if_floating (GObject *obj);
|
|
gboolean gtksharp_object_is_floating (GObject *obj);
|
|
/* */
|
|
|
|
void
|
|
gtksharp_object_unref_if_floating (GObject *obj)
|
|
{
|
|
if (GTK_OBJECT_FLOATING (obj))
|
|
g_object_unref (obj);
|
|
}
|
|
|
|
gboolean
|
|
gtksharp_object_is_floating (GObject *obj)
|
|
{
|
|
return GTK_OBJECT_FLOATING (obj);
|
|
}
|
|
|