forked from AuroraMiddleware/gtk
Move gdk_get_display to common code
This commit is contained in:
parent
6465e8dd15
commit
8075cfd658
@ -1849,6 +1849,12 @@ gdk_display_get_name (GdkDisplay *display)
|
|||||||
return GDK_DISPLAY_GET_CLASS(display)->get_name (display);
|
return GDK_DISPLAY_GET_CLASS(display)->get_name (display);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gchar *
|
||||||
|
gdk_get_display (void)
|
||||||
|
{
|
||||||
|
return g_strdup (gdk_display_get_name (gdk_display_get_default ()));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gdk_display_get_n_screens:
|
* gdk_display_get_n_screens:
|
||||||
* @display: a #GdkDisplay
|
* @display: a #GdkDisplay
|
||||||
|
@ -61,12 +61,6 @@ gdk_error_trap_pop_ignored (void)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
gchar *
|
|
||||||
gdk_get_display (void)
|
|
||||||
{
|
|
||||||
return g_strdup (gdk_display_get_name (gdk_display_get_default ()));
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
gdk_notify_startup_complete (void)
|
gdk_notify_startup_complete (void)
|
||||||
{
|
{
|
||||||
|
@ -197,12 +197,6 @@ _gdk_windowing_exit (void)
|
|||||||
_gdk_display_hdc = NULL;
|
_gdk_display_hdc = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
gchar *
|
|
||||||
gdk_get_display (void)
|
|
||||||
{
|
|
||||||
return g_strdup (gdk_display_get_name (gdk_display_get_default ()));
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
gdk_error_trap_push (void)
|
gdk_error_trap_push (void)
|
||||||
{
|
{
|
||||||
|
@ -545,12 +545,6 @@ gdk_error_trap_pop (void)
|
|||||||
return gdk_error_trap_pop_internal (TRUE);
|
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:
|
* _gdk_send_xevent:
|
||||||
* @display: #GdkDisplay which @window is on
|
* @display: #GdkDisplay which @window is on
|
||||||
|
Loading…
Reference in New Issue
Block a user