After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729597 - Template parent type `GtkWindow' does not match instance parent type `GtkApplicationWindow'
Template parent type `GtkWindow' does not match instance parent type `GtkAppl...
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
3.13.x
Other All
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-05 20:52 UTC by Mantas Mikulėnas (grawity)
Modified: 2014-05-06 11:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
window: Fix parent class in template definition (849 bytes, patch)
2014-05-06 09:32 UTC, Debarshi Ray
committed Details | Review

Description Mantas Mikulėnas (grawity) 2014-05-05 20:52:12 UTC
Some programs (gedit, gnome-terminal-server) crash on startup with:

(gedit:1279213): Gtk-CRITICAL **: Error building template class 'GeditWindow' for an instance of type 'GeditWindow': Template parent type `GtkWindow' does not match instance parent type `GtkApplicationWindow'.

(gnome-terminal-server:1279283): Gtk-CRITICAL **: Error building template class 'TerminalWindow' for an instance of type 'TerminalWindow': Template parent type `GtkWindow' does not match instance parent type `GtkApplicationWindow'.

After:

commit b059098c71b5597b3fc1962b51cac1d058c8bd37
Author: Juan Pablo Ugarte <juanpablougarte@gmail.com>
Date:   Fri May 2 14:38:05 2014 -0300

    GtkBuilder: added template parent type check.
Comment 1 Matthias Clasen 2014-05-06 01:42:50 UTC
Yes, that is a bug in those programs; the error message should give sufficient information to fix it.

Moving this one to gnome-terminal
Comment 2 Debarshi Ray 2014-05-06 09:32:20 UTC
Created attachment 275955 [details] [review]
window: Fix parent class in template definition
Comment 3 Debarshi Ray 2014-05-06 11:57:38 UTC
Review of attachment 275955 [details] [review]:

Okayed by chpe in #vte on GIMPNet:

09:52 <rishi> chpe: Ok to push bug 729597 ?
09:52 <Services> Bug http://bugzilla.gnome.org/show_bug.cgi?id=729597 normal,   
      Normal, ---, gnome-terminal-maint, UNCONFIRMED, Template parent type      
      `GtkWindow' does not match instance parent type `GtkApplicationWindow'
11:02 <chpe> rishi: ok. 3-12 too, if the bug exists there