Move gdk_get_display to common code

This commit is contained in:
Matthias Clasen
2010-12-08 23:48:00 -05:00
parent 6465e8dd15
commit 8075cfd658
4 changed files with 6 additions and 18 deletions

View File

@ -545,12 +545,6 @@ gdk_error_trap_pop (void)
return gdk_error_trap_pop_internal (TRUE);
}
gchar *
gdk_get_display (void)
{
return g_strdup (gdk_display_get_name (gdk_display_get_default ()));
}
/**
* _gdk_send_xevent:
* @display: #GdkDisplay which @window is on