mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gdbus-codegen: Rename --glib-min-version to --glib-min-required
This makes it consistent with the `GLIB_MIN_REQUIRED` defines which are used for API stability/versioning in C code. It doesn’t otherwise change the behaviour of the `--glib-min-version` argument. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1993
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#include "gdbus-tests.h"
|
||||
|
||||
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_64
|
||||
#include "gdbus-test-codegen-generated-min-version-2-64.h"
|
||||
#include "gdbus-test-codegen-generated-min-required-2-64.h"
|
||||
#else
|
||||
#include "gdbus-test-codegen-generated.h"
|
||||
#endif
|
||||
@@ -2693,7 +2693,7 @@ handle_no_annotation_nested (FooiGenFDPassing *object,
|
||||
/* Test that generated code for methods includes GUnixFDList arguments
|
||||
* unconditionally if the method is explicitly annotated as C.UnixFD, and only
|
||||
* emits GUnixFDList arguments when there's merely an 'h' parameter if
|
||||
* --glib-min-version=2.64 or greater.
|
||||
* --glib-min-required=2.64 or greater.
|
||||
*/
|
||||
static void
|
||||
test_unix_fd_list (void)
|
||||
@@ -2707,7 +2707,7 @@ test_unix_fd_list (void)
|
||||
|
||||
/* This one is not annotated; even though it's got an in and out 'h'
|
||||
* parameter, for backwards compatibility we cannot emit GUnixFDList
|
||||
* arguments unless --glib-min-version >= 2.64 was used.
|
||||
* arguments unless --glib-min-required >= 2.64 was used.
|
||||
*/
|
||||
iface.handle_no_annotation = handle_no_annotation;
|
||||
|
||||
|
Reference in New Issue
Block a user