bgo#629299 - Use gdk_display_get_default instead of GDK_DISPLAY
GDK_DISPLAY() was deprecated in GTK+ 2.22 and removed in GTK+ 3.
This commit is contained in:
parent
bfb92ffe9b
commit
cd8a0ecbe2
4 changed files with 9 additions and 6 deletions
|
@ -35,7 +35,7 @@ gboolean debug = FALSE;
|
|||
static gboolean
|
||||
have_tray (void)
|
||||
{
|
||||
Screen *xscreen = DefaultScreenOfDisplay (gdk_display);
|
||||
Screen *xscreen = DefaultScreenOfDisplay (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
|
||||
Atom selection_atom;
|
||||
char *selection_atom_name;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue