From 95773ca5e1991ebef5017a7f05bbc5a4ae5d2622 Mon Sep 17 00:00:00 2001 From: "Eduardo Lima (Etrunko)" Date: Tue, 20 Oct 2015 18:10:22 -0200 Subject: [PATCH] Move declaration to the beginning of the file Signed-off-by: Eduardo Lima (Etrunko) --- src/virt-viewer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/virt-viewer.c b/src/virt-viewer.c index ca264c8..dd8dbba 100644 --- a/src/virt-viewer.c +++ b/src/virt-viewer.c @@ -71,6 +71,7 @@ static gboolean virt_viewer_open_connection(VirtViewerApp *self, int *fd); static void virt_viewer_deactivated(VirtViewerApp *self, gboolean connect_error); static gboolean virt_viewer_start(VirtViewerApp *self, GError **error); static void virt_viewer_dispose (GObject *object); +static int virt_viewer_connect(VirtViewerApp *app, GError **error); static void virt_viewer_get_property (GObject *object, guint property_id, @@ -723,8 +724,6 @@ choose_vm(GtkWindow *main_window, return dom; } -static int virt_viewer_connect(VirtViewerApp *app, GError **error); - static gboolean virt_viewer_initial_connect(VirtViewerApp *app, GError **error) {