Don't define function without oVirt integration

Function is not used without oVirt.

> virt-viewer-window.c:1063:1: warning: 'iso_dialog_response' defined
> but not used [-Wunused-function]

Signed-off-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
Victor Toso 2017-03-03 15:37:02 +01:00 committed by Pavel Grunt
parent 87c63b9f3e
commit 4fc66ec46c

View File

@ -1059,6 +1059,7 @@ virt_viewer_window_menu_help_about(GtkWidget *menu G_GNUC_UNUSED,
g_object_unref(G_OBJECT(about));
}
#if HAVE_OVIRT
static void
iso_dialog_response(GtkDialog *dialog,
gint response_id,
@ -1069,6 +1070,7 @@ iso_dialog_response(GtkDialog *dialog,
gtk_widget_destroy(GTK_WIDGET(dialog));
}
#endif
void
virt_viewer_window_menu_change_cd_activate(GtkWidget *menu G_GNUC_UNUSED,