Zenity after upgrade to 13.2

After online upgrade (Xfce desktop) to 13.2 zenity started throwing warnings like so:

stan@linux-ektu:~/bin> zenity --title "Test" --info --text "Hello World"

(zenity:18823): GLib-GObject-WARNING **: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.

(zenity:18823): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(zenity:18823): GLib-GObject-WARNING **: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
stan@linux-ektu:~/bin> 

The dialog itself comes up ok and everything works save for this warning. So far I redirect STDERR with “2>/dev/null” after every zenity prompt in my scripts but that is obviously a crude hack rather than a solution.

Did something happen to Zenity or GTK libraries between 13.1. and 13.2?

Maybe you need to upgrade Zenity

I have zenity 3.14.0-1.1 from 13.2 OSS. No other versions are available in my repos. On my yet unupdated 13.1 machines it’s 3.10.2-2.8.1.

On Wed, 14 Jan 2015 13:16:01 +0000, Stan Ice wrote:

> After online upgrade (Xfce desktop) to 13.2 zenity started throwing
> warnings like so:
>
>
> Code:
> --------------------
> stan@linux-ektu:~/bin> zenity --title “Test” --info --text “Hello
> World”
>
> (zenity:18823): GLib-GObject-WARNING **: The property
> GtkButton:use-stock is deprecated and shouldn’t be used anymore. It
> will be removed in a future version.
>
> (zenity:18823): GLib-GObject-WARNING **: The property
> GtkSettings:gtk-button-images is deprecated and shouldn’t be used
> anymore. It will be removed in a future version.
>
> (zenity:18823): GLib-GObject-WARNING **: The property GtkImage:stock
> is deprecated and shouldn’t be used anymore. It will be removed in a
> future version.
> Gtk-Message: GtkDialog mapped without a transient parent. This is
> discouraged.
> stan@linux-ektu:~/bin>
> --------------------
>
>
> The dialog itself comes up ok and everything works save for this
> warning. So far I redirect STDERR with “2>/dev/null” after every zenity
> prompt in my scripts but that is obviously a crude hack rather than a
> solution.
>
> Did something happen to Zenity or GTK libraries between 13.1. and 13.2?

Nothing to worry about here - these are messages the developers either
have to deal with, or that they put there to remind themselves to deal
with them.

As long as Zenity works, there’s nothing for you to worry about here.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

…these are messages the developers either
have to deal with, or that they put there to remind themselves to deal
with them.

Yes, so I gathered.

These warnings fill my script outputs with junk, however, and when I saw them first I thought something else went really wrong with GTK. Suppressing zenity output helped but i would rather remind the developers that these warnings were not meant for general users.

Does this warrant a bug report?

Since it’s not related to upgrade but simply to the latest zenity, perhaps someone could move this thread to an appropriate forum, no one would search for zenity warnings here.

Little openSUSE can do about other’s programs. You need to build fire under Zenity developers.

I got the impression that it’s GTK developers pestering GTK app developers to make them pay more attention to GTK APIs. Zenity is just one example. Their project page doesn’t take bug submissions from general public, so … nothing, not my fight, extra warnings are just collateral damage.

On Mon, 19 Jan 2015 08:16:01 +0000, Stan Ice wrote:

>> …these are messages the developers either have to deal with, or that
>> they put there to remind themselves to deal with them.
>
> Yes, so I gathered.
>
> These warnings fill my script outputs with junk, however, and when I saw
> them first I thought something else went really wrong with GTK.
> Suppressing zenity output helped but i would rather remind the
> developers that these warnings were not meant for general users.
>
> Does this warrant a bug report?

Probably not.

> Since it’s not related to upgrade but simply to the latest zenity,
> perhaps someone could move this thread to an appropriate forum, no one
> would search for zenity warnings here.

Zenity itself isn’t going to output anything that’s likely to be of
importance to you, so you can try redirecting its output to /dev/null (if
they used stderr, you can redirect that and use the stdout output, if
any, in your scripts).

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C