[virt-tools-list] [PATCH virt-viewer 1/2] window: save window geometry if the window is realized

Hans de Goede hdegoede at redhat.com
Tue Mar 26 13:38:59 UTC 2013


Hi,

On 03/26/2013 02:33 PM, Marc-André Lureau wrote:

<snip>

> ok with that in src/virt-gtk-compat.h?
>
> +#if !GTK_CHECK_VERSION(3, 0, 0)
> +#define gtk_widget_set_realized(widget, val)    \
> +  GTK_WIDGET_SET_FLAGS(widget, GTK_REALIZED)
> +#define gtk_widget_get_realized(widget)         \
> +  GTK_WIDGET_REALIZED(widget)
> +#endif

Shouldn't the gtk_widget_set_realized macro do something
with its val argument ?

Maybe only define get_realized since that is the one we
are actually using ?

Regards,

Hans




More information about the virt-tools-list mailing list