[virt-tools-list] [PATCH v4 3/5] Port to GtkApplication API's
Eduardo Lima (Etrunko)
etrunko at redhat.com
Mon Feb 15 14:38:43 UTC 2016
On 02/15/2016 12:31 PM, Eduardo Lima (Etrunko) wrote:
> diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c
> index 3a958f0..14549fd 100644
> --- a/src/virt-viewer-window.c
> +++ b/src/virt-viewer-window.c
> @@ -346,8 +346,7 @@ virt_viewer_window_init (VirtViewerWindow *self)
> gtk_window_set_has_resize_grip(GTK_WINDOW(priv->window), FALSE);
> priv->accel_enabled = TRUE;
>
> - accels = gtk_accel_groups_from_object(G_OBJECT(priv->window));
> - for ( ; accels ; accels = accels->next) {
> + for (accels = gtk_accel_groups_from_object(G_OBJECT(priv->window)); accels; accels = accels->next) {
> priv->accel_list = g_slist_append(priv->accel_list, accels->data);
> g_object_ref(G_OBJECT(accels->data));
> }
This slipped in again, I will wait for another round of review to remove
this change.
--
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com
More information about the virt-tools-list
mailing list