mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-27 14:54:14 +00:00
Require GTK-VNC 0.4.3 and remove redundant realize() call
Remove call to gtk_widget_realize for the GTK-VNC widget. Requires GTK-VNC >= 0.4.3
This commit is contained in:
parent
1175841df9
commit
9c5f7bfcf2
4
README
4
README
@ -14,8 +14,8 @@ with:
|
||||
|
||||
./configure --with-gtk=3.0 (or =2.0)
|
||||
|
||||
Virt Viewer uses the GTK-VNC widget to provide a display
|
||||
of the VNC protocol. This is available from
|
||||
Virt Viewer uses the GTK-VNC (>= 0.4.3) widget to provide a
|
||||
display of the VNC protocol. This is available from
|
||||
|
||||
http://gtk-vnc.sourceforge.net/
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ LIBXML2_REQUIRED="2.6.0"
|
||||
LIBVIRT_REQUIRED="0.6.0"
|
||||
GTK2_REQUIRED="2.12.0"
|
||||
GTK3_REQUIRED="3.0"
|
||||
GTK_VNC_REQUIRED="0.3.8"
|
||||
GTK_VNC_REQUIRED="0.4.3"
|
||||
SPICE_GTK_REQUIRED="0.6"
|
||||
|
||||
AC_PROG_CC
|
||||
|
||||
@ -29,9 +29,9 @@ BuildRequires: mingw32-gtk2 >= 2.12.0
|
||||
BuildRequires: mingw32-libvirt >= 0.6.0
|
||||
BuildRequires: mingw32-libxml2
|
||||
%if %{with_gtk3}
|
||||
BuildRequires: mingw32-gtk-vnc >= 0.3.8
|
||||
BuildRequires: mingw32-gtk-vnc >= 0.4.3
|
||||
%else
|
||||
BuildRequires: mingw32-gtk-vnc2 >= 0.4.0
|
||||
BuildRequires: mingw32-gtk-vnc2 >= 0.4.3
|
||||
%endif
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
|
||||
@ -878,8 +878,6 @@ virt_viewer_window_set_display(VirtViewerWindow *self, VirtViewerDisplay *displa
|
||||
virt_viewer_display_set_zoom_level(VIRT_VIEWER_DISPLAY(priv->display), priv->zoomlevel);
|
||||
|
||||
gtk_notebook_append_page(GTK_NOTEBOOK(priv->notebook), GTK_WIDGET(display), NULL);
|
||||
if (gtk_bin_get_child(GTK_BIN(display)))
|
||||
gtk_widget_realize(GTK_WIDGET(gtk_bin_get_child(GTK_BIN(display))));
|
||||
gtk_widget_show_all(GTK_WIDGET(display));
|
||||
|
||||
g_signal_connect(display, "display-pointer-grab",
|
||||
|
||||
@ -40,7 +40,7 @@ BuildRequires: libxml2-devel
|
||||
%if %{with_gtk3}
|
||||
BuildRequires: gtk-vnc2-devel >= 0.4.3
|
||||
%else
|
||||
BuildRequires: gtk-vnc-devel >= 0.3.8
|
||||
BuildRequires: gtk-vnc-devel >= 0.4.3
|
||||
%endif
|
||||
%if %{with_spice}
|
||||
%if %{with_gtk3}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user