| 8652 | } |
| 8653 | |
| 8654 | static void |
| 8655 | garrow_replace_slice_options_get_property(GObject *object, |
| 8656 | guint prop_id, |
| 8657 | GValue *value, |
| 8658 | GParamSpec *pspec) |
| 8659 | { |
| 8660 | auto options = |
| 8661 | garrow_replace_slice_options_get_raw(GARROW_REPLACE_SLICE_OPTIONS(object)); |
| 8662 | |
| 8663 | switch (prop_id) { |
| 8664 | case PROP_REPLACE_SLICE_OPTIONS_START: |
| 8665 | g_value_set_int64(value, options->start); |
| 8666 | break; |
| 8667 | case PROP_REPLACE_SLICE_OPTIONS_STOP: |
| 8668 | g_value_set_int64(value, options->stop); |
| 8669 | break; |
| 8670 | case PROP_REPLACE_SLICE_OPTIONS_REPLACEMENT: |
| 8671 | g_value_set_string(value, options->replacement.c_str()); |
| 8672 | break; |
| 8673 | default: |
| 8674 | G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); |
| 8675 | break; |
| 8676 | } |
| 8677 | } |
| 8678 | |
| 8679 | static void |
| 8680 | garrow_replace_slice_options_init(GArrowReplaceSliceOptions *object) |
nothing calls this directly
no test coverage detected