[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]