finch/gntdebug.h

changeset 39532
04b8df1f20c3
parent 38646
fd3dd26b128d
child 39885
b1b266896ec1
equal deleted inserted replaced
39521:f4d92381a032 39532:04b8df1f20c3
35 /********************************************************************** 35 /**********************************************************************
36 * GNT Debug API 36 * GNT Debug API
37 **********************************************************************/ 37 **********************************************************************/
38 38
39 #define FINCH_TYPE_DEBUG_UI (finch_debug_ui_get_type()) 39 #define FINCH_TYPE_DEBUG_UI (finch_debug_ui_get_type())
40 #if GLIB_CHECK_VERSION(2,44,0)
41 G_DECLARE_FINAL_TYPE(FinchDebugUi, finch_debug_ui, FINCH, DEBUG_UI, GObject) 40 G_DECLARE_FINAL_TYPE(FinchDebugUi, finch_debug_ui, FINCH, DEBUG_UI, GObject)
42 #else
43 GType finch_debug_ui_get_type(void);
44 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
45 typedef struct _FinchDebugUi FinchDebugUi;
46 typedef struct { GObjectClass parent_class; } FinchDebugUiClass;
47 static inline FinchDebugUi *
48 FINCH_DEBUG_UI(gpointer ptr)
49 {
50 return G_TYPE_CHECK_INSTANCE_CAST(ptr, finch_debug_ui_get_type(), FinchDebugUi);
51 }
52 static inline gboolean
53 FINCH_IS_DEBUG_UI(gpointer ptr)
54 {
55 return G_TYPE_CHECK_INSTANCE_TYPE(ptr, finch_debug_ui_get_type());
56 }
57 G_GNUC_END_IGNORE_DEPRECATIONS
58 #endif
59 41
60 /** 42 /**
61 * finch_debug_ui_new: 43 * finch_debug_ui_new:
62 * 44 *
63 * Perform necessary initializations. 45 * Perform necessary initializations.

mercurial