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 581709 - gtk_window_set_skip_taskbar_hint() throws critical warning
gtk_window_set_skip_taskbar_hint() throws critical warning
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: X11
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2009-05-07 08:36 UTC by Danielle Madeley
Modified: 2009-09-10 22:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase (857 bytes, text/x-csrc)
2009-05-07 08:37 UTC, Danielle Madeley
Details

Description Danielle Madeley 2009-05-07 08:36:29 UTC
In latest GTK+ Git.

(set-skip-taskbar-hint:7987): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
Comment 1 Danielle Madeley 2009-05-07 08:37:10 UTC
Created attachment 134177 [details]
testcase

A test case that reveals the critical.
Comment 2 Matthias Clasen 2009-09-10 22:53:11 UTC
The git version of gdk_x11_atom_to_xatom_for_display starts like this:

Atom
gdk_x11_atom_to_xatom_for_display (GdkDisplay *display,
                                   GdkAtom     atom)
{
  Atom xatom = None;

  g_return_val_if_fail (GDK_IS_DISPLAY (display), None);

  if (atom == GDK_NONE)
    return None;

  if (display->closed)
    return None;

[...]

so it cannot really throw the warning that you are seeing, any longer. I've fixed that a few days ago (maybe last week ?)