unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
       [not found] <alpine.DEB.2.11.1409221257380.29233@cantor.unex.es>
@ 2014-10-09 22:28 ` Rob Browning
  2014-10-10 16:03   ` Glenn Morris
  0 siblings, 1 reply; 7+ messages in thread
From: Rob Browning @ 2014-10-09 22:28 UTC (permalink / raw)
  To: 18674; +Cc: 762435-forwarded, Santiago Vila, 762435

[When possible, please preserve the -forwarded address in any replies.]

Recently reported to Debian.

Santiago Vila <sanvila@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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
  2014-10-09 22:28 ` bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject Rob Browning
@ 2014-10-10 16:03   ` Glenn Morris
  2014-10-11 10:42     ` Jan Djärv
  0 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2014-10-10 16:03 UTC (permalink / raw)
  To: 18674


> 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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
  2014-10-10 16:03   ` Glenn Morris
@ 2014-10-11 10:42     ` Jan Djärv
  2014-10-11 17:31       ` Glenn Morris
  2014-10-12  4:34       ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Djärv @ 2014-10-11 10:42 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 18674

Hi.

10 okt 2014 kl. 18:03 skrev Glenn Morris <rgm@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.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
  2014-10-11 10:42     ` Jan Djärv
@ 2014-10-11 17:31       ` Glenn Morris
  2014-10-12  4:34       ` Stefan Monnier
  1 sibling, 0 replies; 7+ messages in thread
From: Glenn Morris @ 2014-10-11 17:31 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 18674

Jan Djärv wrote:

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

My feeling is not.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
  2014-10-11 10:42     ` Jan Djärv
  2014-10-11 17:31       ` Glenn Morris
@ 2014-10-12  4:34       ` Stefan Monnier
  2014-10-14 18:35         ` Stefan Monnier
  2014-10-19 16:33         ` Jan Djärv
  1 sibling, 2 replies; 7+ messages in thread
From: Stefan Monnier @ 2014-10-12  4:34 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 18674

> 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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
  2014-10-12  4:34       ` Stefan Monnier
@ 2014-10-14 18:35         ` Stefan Monnier
  2014-10-19 16:33         ` Jan Djärv
  1 sibling, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2014-10-14 18:35 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 18674

> 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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject
  2014-10-12  4:34       ` Stefan Monnier
  2014-10-14 18:35         ` Stefan Monnier
@ 2014-10-19 16:33         ` Jan Djärv
  1 sibling, 0 replies; 7+ messages in thread
From: Jan Djärv @ 2014-10-19 16:33 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 18674-done

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
>






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-19 16:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <alpine.DEB.2.11.1409221257380.29233@cantor.unex.es>
2014-10-09 22:28 ` bug#18674: Bug#762435: emacs24: Warning message from GLib-GObject Rob Browning
2014-10-10 16:03   ` Glenn Morris
2014-10-11 10:42     ` Jan Djärv
2014-10-11 17:31       ` Glenn Morris
2014-10-12  4:34       ` Stefan Monnier
2014-10-14 18:35         ` Stefan Monnier
2014-10-19 16:33         ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).