Re: [PATCH 4/4] Port to GtkApplicationWindow API's

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

 



On 12/01/2015 03:17 PM, Jonathon Jongsma wrote:
> Hmm, I don't quite understand most of these changes. 
> 
> Why are you removing the window from the xml file instead of just changing the
> 'class' attribute to GtkApplicationWindow? (Of course, we can't set the
> 'application' property of the window inside of the builder file, so we still
> have to set that by continuing to call gtk_application_add_window() or setting
> the GtkWindow::application property on the retrieved window object). 

GtkBuilder will not accept GtkApplicationWindow, so I think it is
supposed to be manually created.

> 
> Also, I don't quite understand why the code had to be moved from _init to
> _constructed. Can you expand on that?
> 

Sure, the problem is that in _init we still don't have the 'app' pointer
properly set, while on _constructed it is.

-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko@xxxxxxxxxx

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux