mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 09:58:54 +02:00
Bug 576605 - Get rid of GI_SCOPE_TYPE_OBJECT
Remove support for (scope object) as it lacks a real use case.
This commit is contained in:
@@ -296,8 +296,6 @@ typedef enum {
|
|||||||
GI_SCOPE_TYPE_INVALID, /* The argument is not of callback type */
|
GI_SCOPE_TYPE_INVALID, /* The argument is not of callback type */
|
||||||
GI_SCOPE_TYPE_CALL, /* The callback and associated user_data is only used during the
|
GI_SCOPE_TYPE_CALL, /* The callback and associated user_data is only used during the
|
||||||
call to this function */
|
call to this function */
|
||||||
GI_SCOPE_TYPE_OBJECT, /* The callback and associated user_data is used until
|
|
||||||
the object containing this method is destroyed */
|
|
||||||
GI_SCOPE_TYPE_ASYNC, /* The callback and associated user_data is
|
GI_SCOPE_TYPE_ASYNC, /* The callback and associated user_data is
|
||||||
only used until the callback is invoked, and the callback
|
only used until the callback is invoked, and the callback
|
||||||
is invoked always exactly once. */
|
is invoked always exactly once. */
|
||||||
|
@@ -934,8 +934,6 @@ start_parameter (GMarkupParseContext *context,
|
|||||||
|
|
||||||
if (scope && strcmp (scope, "call") == 0)
|
if (scope && strcmp (scope, "call") == 0)
|
||||||
param->scope = GI_SCOPE_TYPE_CALL;
|
param->scope = GI_SCOPE_TYPE_CALL;
|
||||||
else if (scope && strcmp (scope, "object") == 0)
|
|
||||||
param->scope = GI_SCOPE_TYPE_OBJECT;
|
|
||||||
else if (scope && strcmp (scope, "async") == 0)
|
else if (scope && strcmp (scope, "async") == 0)
|
||||||
param->scope = GI_SCOPE_TYPE_ASYNC;
|
param->scope = GI_SCOPE_TYPE_ASYNC;
|
||||||
else if (scope && strcmp (scope, "notified") == 0)
|
else if (scope && strcmp (scope, "notified") == 0)
|
||||||
|
Reference in New Issue
Block a user