mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-31 11:12:01 +00:00
Fix build when building without oVirt
As remote_viewer_iso_list_dialog_new() is defined on remote-viewer-iso-list-dialog.h which is only build with oVirt integration. > undefined reference to `remote_viewer_iso_list_dialog_new' Note that the callback virt_viewer_window_menu_change_cd_activate() is only visible if oVirt is built in. Signed-off-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
parent
5af0a37b6b
commit
2ed3e393b8
@ -1074,6 +1074,7 @@ void
|
||||
virt_viewer_window_menu_change_cd_activate(GtkWidget *menu G_GNUC_UNUSED,
|
||||
VirtViewerWindow *self)
|
||||
{
|
||||
#if HAVE_OVIRT
|
||||
VirtViewerWindowPrivate *priv = self->priv;
|
||||
GtkWidget *dialog;
|
||||
GObject *foreign_menu;
|
||||
@ -1092,6 +1093,7 @@ virt_viewer_window_menu_change_cd_activate(GtkWidget *menu G_GNUC_UNUSED,
|
||||
g_signal_connect(dialog, "response", G_CALLBACK(iso_dialog_response), NULL);
|
||||
gtk_widget_show_all(dialog);
|
||||
gtk_dialog_run(GTK_DIALOG(dialog));
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Loading…
Reference in New Issue
Block a user