summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-10 22:19:31 +0100
committerraveit65 <[email protected]>2020-12-16 11:21:34 +0100
commitbfb7205bb9fd8e54e2968c2967db93f6287c2279 (patch)
treeb1408eeac5155c0589fd5b88906cd3ed1cc1fed0
parentdba1340ce73b1d676fc7ff6e19f7798236e803e9 (diff)
downloadpluma-bfb7205bb9fd8e54e2968c2967db93f6287c2279.tar.bz2
pluma-bfb7205bb9fd8e54e2968c2967db93f6287c2279.tar.xz
pluma-utils: Cppcheck warning 'argument order different'
-rw-r--r--pluma/pluma-utils.c2
-rw-r--r--pluma/pluma-utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/pluma/pluma-utils.c b/pluma/pluma-utils.c
index 445f15af..6dee2224 100644
--- a/pluma/pluma-utils.c
+++ b/pluma/pluma-utils.c
@@ -1420,8 +1420,8 @@ null_ptr (gchar **ptr)
* @scheme: (allow-none): return value pointer for the uri's
* scheme (e.g. http, sftp, ...), or %NULL
* @user: (allow-none): return value pointer for the uri user info, or %NULL
- * @port: (allow-none): return value pointer for the uri port, or %NULL
* @host: (allow-none): return value pointer for the uri host, or %NULL
+ * @port: (allow-none): return value pointer for the uri port, or %NULL
* @path: (allow-none): return value pointer for the uri path, or %NULL
*
* Parse and break an uri apart in its individual components like the uri
diff --git a/pluma/pluma-utils.h b/pluma/pluma-utils.h
index 7c9881cf..68b77737 100644
--- a/pluma/pluma-utils.h
+++ b/pluma/pluma-utils.h
@@ -138,8 +138,8 @@ gchar *pluma_utils_basename_for_display (const gchar *uri);
gboolean pluma_utils_decode_uri (const gchar *uri,
gchar **scheme,
gchar **user,
- gchar **port,
gchar **host,
+ gchar **port,
gchar **path);