mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Allow GCancellable to be subclassed by adding a private structure
This commit is contained in:
committed by
Alexander Larsson
parent
0ccd18bc83
commit
b0dc7afd2a
@@ -44,6 +44,15 @@ G_BEGIN_DECLS
|
||||
* Allows actions to be cancelled.
|
||||
*/
|
||||
typedef struct _GCancellableClass GCancellableClass;
|
||||
typedef struct _GCancellablePrivate GCancellablePrivate;
|
||||
|
||||
struct _GCancellable
|
||||
{
|
||||
GObject parent_instance;
|
||||
|
||||
/*< private >*/
|
||||
GCancellablePrivate *priv;
|
||||
};
|
||||
|
||||
struct _GCancellableClass
|
||||
{
|
||||
|
Reference in New Issue
Block a user