about summary refs log tree commit diff
path: root/clients/tui/nm-editor-bindings.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/tui/nm-editor-bindings.c')
-rw-r--r--clients/tui/nm-editor-bindings.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/clients/tui/nm-editor-bindings.c b/clients/tui/nm-editor-bindings.c
index 8df741f5..24803868 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, (int) val);
+	g_value_set_uint (dest_value, (gint) 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 char    *source_property,
+                                                 const gchar   *source_property,
                                                  gpointer       target,
-                                                 const char    *target_property,
+                                                 const gchar   *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 char    *source_property,
+                                     const gchar   *source_property,
                                      gpointer       target,
-                                     const char    *target_property,
+                                     const gchar   *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 char        *target_property,
-                                     const char        *target_sensitive_property,
+                                     const gchar       *target_property,
+                                     const gchar       *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 char    *source_property,
+                                    const gchar   *source_property,
                                     gpointer       dest_target,
-                                    const char    *dest_target_property,
+                                    const gchar   *dest_target_property,
                                     gpointer       next_hop_target,
-                                    const char    *next_hop_target_property,
+                                    const gchar   *next_hop_target_property,
                                     gpointer       metric_target,
-                                    const char    *metric_target_property,
+                                    const gchar   *metric_target_property,
                                     GBindingFlags  flags)
 {
 	g_object_bind_property_full (source, source_property,