summaryrefslogtreecommitdiff
path: root/src/caja-connect-server-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-connect-server-dialog.c')
-rw-r--r--src/caja-connect-server-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caja-connect-server-dialog.c b/src/caja-connect-server-dialog.c
index 9b3b847e..c2de6284 100644
--- a/src/caja-connect-server-dialog.c
+++ b/src/caja-connect-server-dialog.c
@@ -944,7 +944,6 @@ caja_connect_server_dialog_init (CajaConnectServerDialog *dialog)
{
GtkTreeIter iter;
const gchar * const *supported;
- int j;
/* skip methods that don't have corresponding gvfs uri schemes */
supported = g_vfs_get_supported_uri_schemes (g_vfs_get_default ());
@@ -952,6 +951,7 @@ caja_connect_server_dialog_init (CajaConnectServerDialog *dialog)
if (methods[i].scheme != NULL)
{
gboolean found;
+ int j;
found = FALSE;
for (j = 0; supported[j] != NULL; j++)