static void gdk_drag_context_finalize (GObject *object) { GdkDragContext *context = GDK_DRAG_CONTEXT (object); GdkDragContextPrivate *private = GDK_DRAG_CONTEXT_PRIVATE_DATA (object); g_list_free (context->targets); if (context->source_window) g_object_unref (context->source_window); if (context->dest_window) g_object_unref (context->dest_window); if (private) { g_free (private); context->windowing_data = NULL; } contexts = g_list_remove (contexts, context); G_OBJECT_CLASS (parent_class)->finalize (object); }
static void gdk_drag_context_finalize (GObject *object) { GdkDragContext *context = GDK_DRAG_CONTEXT (object); GdkDragContextPrivate *private = GDK_DRAG_CONTEXT_PRIVATE (context); g_free (private); G_OBJECT_CLASS (parent_class)->finalize (object); }
USER_OBJECT_ S_GdkDragContextGetStartTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; guint32 val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->start_time; _result = asRNumeric(val); return(_result); }
USER_OBJECT_ S_GdkDragContextGetAction (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GdkDragAction val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->action; _result = asRFlag(val, GDK_TYPE_DRAG_ACTION); return(_result); }
USER_OBJECT_ S_GdkDragContextGetTargets (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GList* val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->targets; _result = asRGListConv(val, ((ElementConverter)asRGdkAtom)); return(_result); }
USER_OBJECT_ S_GdkDragContextGetDestWindow (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GdkWindow* val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->dest_window; _result = toRPointerWithRef(val, "GdkWindow"); return(_result); }
USER_OBJECT_ S_GdkDragContextGetIsSource (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; gboolean val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->is_source; _result = asRLogical(val); return(_result); }
USER_OBJECT_ S_GdkDragContextGetProtocol (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GdkDragProtocol val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->protocol; _result = asREnum(val, GDK_TYPE_DRAG_PROTOCOL); return(_result); }
static void gdk_drag_context_finalize (GObject *object) { GdkDragContext *context = GDK_DRAG_CONTEXT (object); g_list_free (context->targets); if (context->source_window) g_object_unref (context->source_window); if (context->dest_window) g_object_unref (context->dest_window); G_OBJECT_CLASS (gdk_drag_context_parent_class)->finalize (object); }