GNU bug report logs - #18674
Bug#762435: emacs24: Warning message from GLib-GObject

Previous Next

Package: emacs;

Reported by: Rob Browning <rlb <at> defaultvalue.org>

Date: Thu, 9 Oct 2014 22:29:02 UTC

Severity: normal

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18674 in the body.
You can then email your comments to 18674 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18674; Package emacs. (Thu, 09 Oct 2014 22:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rob Browning <rlb <at> defaultvalue.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 09 Oct 2014 22:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rob Browning <rlb <at> defaultvalue.org>
To: bug-gnu-emacs <at> gnu.org
Cc: 762435-forwarded <at> bugs.debian.org, Santiago Vila <sanvila <at> unex.es>,
 762435 <at> bugs.debian.org
Subject: Re: Bug#762435: emacs24: Warning message from GLib-GObject
Date: Thu, 09 Oct 2014 17:28:05 -0500
[When possible, please preserve the -forwarded address in any replies.]

Recently reported to Debian.

Santiago Vila <sanvila <at> unex.es> writes:

> Package: emacs24
> Version: 24.3+1-5+b1
>
> Hello Rob. I got this today under unstable:
>
> (emacs:29258): GLib-GObject-WARNING **: The property GtkMisc:xalign is
> deprecated and shouldn't be used anymore. It will be removed in a
> future version.
>
> which apparently means emacs is using some obsolete feature of Gtk.

cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762435

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18674; Package emacs. (Fri, 10 Oct 2014 16:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 18674 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 18674 <at> debbugs.gnu.org
Cc: Jan Djärv <jan.h.d <at> swipnet.se>
Subject: Re: bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
Date: Fri, 10 Oct 2014 12:03:26 -0400
> GLib-GObject-WARNING **: The property GtkMisc:xalign is deprecated

Apparently gtk_misc_set_alignment is deprecated:

https://developer.gnome.org/gtk3/stable/GtkMisc.html

  gtk_misc_set_alignment has been deprecated since version 3.14 and should
  not be used in newly-written code.

  Use GtkWidget alignment and margin properties.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18674; Package emacs. (Sat, 11 Oct 2014 10:43:02 GMT) Full text and rfc822 format available.

Message #11 received at 18674 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 18674 <at> debbugs.gnu.org
Subject: Re: bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
Date: Sat, 11 Oct 2014 12:42:46 +0200
Hi.

10 okt 2014 kl. 18:03 skrev Glenn Morris <rgm <at> gnu.org>:

> 
>> GLib-GObject-WARNING **: The property GtkMisc:xalign is deprecated
> 
> Apparently gtk_misc_set_alignment is deprecated:
> 
> https://developer.gnome.org/gtk3/stable/GtkMisc.html
> 
>  gtk_misc_set_alignment has been deprecated since version 3.14 and should
>  not be used in newly-written code.
> 
>  Use GtkWidget alignment and margin properties.


The problem is they don't do exactly the same, but it might be good enough for Emacs.
We use other deprecated stuff, like stock items (deprecated in 3.10).  Every Gtk release deprecates a lot of stuff, those guys can never seem to decide on anything.
I don't know if these should be fixed in emacs-24 or not.
Emacs 24 probably won't compile on Gnome 4, but chances are we have a bugfix release out before Gnome 4, or even 25.1.



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18674; Package emacs. (Sat, 11 Oct 2014 17:32:02 GMT) Full text and rfc822 format available.

Message #14 received at 18674 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 18674 <at> debbugs.gnu.org
Subject: Re: bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
Date: Sat, 11 Oct 2014 13:31:15 -0400
Jan Djärv wrote:

> I don't know if these should be fixed in emacs-24 or not.

My feeling is not.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18674; Package emacs. (Sun, 12 Oct 2014 04:35:02 GMT) Full text and rfc822 format available.

Message #17 received at 18674 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: Glenn Morris <rgm <at> gnu.org>, 18674 <at> debbugs.gnu.org
Subject: Re: bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
Date: Sun, 12 Oct 2014 00:34:25 -0400
> Every Gtk release deprecates a lot of stuff, those guys can never seem to
> decide on anything.

To be fair, we do kind of the same [ Not sure how we compare in terms of
number of years between declaring something obsolete and actually
removing it, tho.  ]

At least for things we deprecate, I don't expect everyone to immediately
start using the new functionality, because many Elisp packages want to
provide compatibility with older releases, so I think it's OK for Emacs
to use deprecated Emacs interfaces as long as they've been
deprecated recently.

But we should update the code to use the new replacement "as soon as
possible" within the limits of our manpower and the added complexity of
potentially having to support both the old and the new functionality at
the same time (via configure tests, typically).

> I don't know if these should be fixed in emacs-24 or not.

No, much too late for that.

> Emacs 24 probably won't compile on Gnome 4, but chances are we have a bugfix
> release out before Gnome 4, or even 25.1.

If/when this is a problem, we can indeed release a bug-fix for it.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18674; Package emacs. (Tue, 14 Oct 2014 18:36:02 GMT) Full text and rfc822 format available.

Message #20 received at 18674 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: Glenn Morris <rgm <at> gnu.org>, 18674 <at> debbugs.gnu.org
Subject: Re: bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
Date: Tue, 14 Oct 2014 14:35:50 -0400
> provide compatibility with older releases, so I think it's OK for Emacs
> to use deprecated Emacs interfaces as long as they've been
                    ^^^^^
                    Gtk
Sorry,


        Stefan




Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Sun, 19 Oct 2014 16:34:02 GMT) Full text and rfc822 format available.

Notification sent to Rob Browning <rlb <at> defaultvalue.org>:
bug acknowledged by developer. (Sun, 19 Oct 2014 16:34:02 GMT) Full text and rfc822 format available.

Message #25 received at 18674-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: Glenn Morris <rgm <at> gnu.org>, 18674-done <at> debbugs.gnu.org
Subject: Re: bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
Date: Sun, 19 Oct 2014 18:33:01 +0200
Hello.

This is fixed in trunk.  We have one deprecated call left,
gtk_widget_set_double_buffered.

We can't get rid of that without adding Gtk rendering (i.e. Cairo) and only 
rendering in callbacks, that is on expose events.  This is a major job.

	Jan D.

Den 2014-10-12 06:34, Stefan Monnier skrev:
>> Every Gtk release deprecates a lot of stuff, those guys can never seem to
>> decide on anything.
>
> To be fair, we do kind of the same [ Not sure how we compare in terms of
> number of years between declaring something obsolete and actually
> removing it, tho.  ]
>
> At least for things we deprecate, I don't expect everyone to immediately
> start using the new functionality, because many Elisp packages want to
> provide compatibility with older releases, so I think it's OK for Emacs
> to use deprecated Emacs interfaces as long as they've been
> deprecated recently.
>
> But we should update the code to use the new replacement "as soon as
> possible" within the limits of our manpower and the added complexity of
> potentially having to support both the old and the new functionality at
> the same time (via configure tests, typically).
>
>> I don't know if these should be fixed in emacs-24 or not.
>
> No, much too late for that.
>
>> Emacs 24 probably won't compile on Gnome 4, but chances are we have a bugfix
>> release out before Gnome 4, or even 25.1.
>
> If/when this is a problem, we can indeed release a bug-fix for it.
>
>
>          Stefan
>





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 17 Nov 2014 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.