diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2019-01-25 10:49:37 +0100 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2019-01-25 10:49:37 +0100 |
| commit | 404ebe62622150e77e311777dff8617eb974e834 (patch) | |
| tree | cc7f73d3e435d5b3ee85e2bef833e8de1fb133e3 /clients/tui/nm-editor-bindings.c | |
| parent | 227c401a10a930af6fd5f123aef345fcd130d6aa (diff) | |
| parent | 3626b425d1bc017fdc6f1ea0cfd329d1e1681641 (diff) | |
Merge remote-tracking branch 'salsa/upstream' into upstream
Diffstat (limited to 'clients/tui/nm-editor-bindings.c')
| -rw-r--r-- | clients/tui/nm-editor-bindings.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/clients/tui/nm-editor-bindings.c b/clients/tui/nm-editor-bindings.c index 24803868..8df741f5 100644 --- a/clients/tui/nm-editor-bindings.c +++ b/clients/tui/nm-editor-bindings.c @@ -59,7 +59,7 @@ value_transform_string_uint (const GValue *src_value, if (val < 0 || val > G_MAXUINT || *end) return; - g_value_set_uint (dest_value, (gint) val); + g_value_set_uint (dest_value, (int) val); } void @@ -180,9 +180,9 @@ ip_addresses_with_prefix_from_strv (GBinding *binding, void nm_editor_bind_ip_addresses_with_prefix_to_strv (int addr_family, gpointer source, - const gchar *source_property, + const char *source_property, gpointer target, - const gchar *target_property, + const char *target_property, GBindingFlags flags) { g_object_bind_property_full (source, source_property, @@ -232,9 +232,9 @@ ip_addresses_check_and_copy (GBinding *binding, void nm_editor_bind_ip_addresses_to_strv (int addr_family, gpointer source, - const gchar *source_property, + const char *source_property, gpointer target, - const gchar *target_property, + const char *target_property, GBindingFlags flags) { g_object_bind_property_full (source, source_property, @@ -328,8 +328,8 @@ void nm_editor_bind_ip_gateway_to_string (int addr_family, NMSettingIPConfig *source, gpointer target, - const gchar *target_property, - const gchar *target_sensitive_property, + const char *target_property, + const char *target_sensitive_property, GBindingFlags flags) { g_object_bind_property_full (source, "gateway", @@ -535,13 +535,13 @@ ip_route_transform_from_metric_string (GBinding *binding, void nm_editor_bind_ip_route_to_strings (int addr_family, gpointer source, - const gchar *source_property, + const char *source_property, gpointer dest_target, - const gchar *dest_target_property, + const char *dest_target_property, gpointer next_hop_target, - const gchar *next_hop_target_property, + const char *next_hop_target_property, gpointer metric_target, - const gchar *metric_target_property, + const char *metric_target_property, GBindingFlags flags) { g_object_bind_property_full (source, source_property, |