mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
Drop gdk_notify_startup_complete
This function and its variant are just wrappers around the display-specific function.
This commit is contained in:
parent
dca8c8e189
commit
211f16d68b
@ -4,9 +4,6 @@
|
||||
<SECTION>
|
||||
<TITLE>General</TITLE>
|
||||
<FILE>general</FILE>
|
||||
gdk_notify_startup_complete
|
||||
gdk_notify_startup_complete_with_id
|
||||
gdk_set_allowed_backends
|
||||
|
||||
<SUBSECTION>
|
||||
gdk_get_program_class
|
||||
@ -150,6 +147,9 @@ gdk_display_manager_set_default_display
|
||||
gdk_display_manager_list_displays
|
||||
gdk_display_manager_open_display
|
||||
|
||||
<SUBSECTION>
|
||||
gdk_set_allowed_backends
|
||||
|
||||
<SUBSECTION Standard>
|
||||
GDK_DISPLAY_MANAGER
|
||||
GDK_DISPLAY_MANAGER_CLASS
|
||||
|
@ -575,6 +575,7 @@ gdk_display_put_event (GdkDisplay *display,
|
||||
*
|
||||
* Flushes the output buffers of all display connections and waits
|
||||
* until all requests have been processed.
|
||||
*
|
||||
* This is rarely needed by applications.
|
||||
*/
|
||||
void
|
||||
@ -1522,52 +1523,6 @@ _gdk_display_get_next_serial (GdkDisplay *display)
|
||||
return GDK_DISPLAY_GET_CLASS (display)->get_next_serial (display);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* gdk_notify_startup_complete:
|
||||
*
|
||||
* Indicates to the GUI environment that the application has finished
|
||||
* loading. If the applications opens windows, this function is
|
||||
* normally called after opening the application’s initial set of
|
||||
* windows.
|
||||
*
|
||||
* GTK+ will call this function automatically after opening the first
|
||||
* #GtkWindow unless gtk_window_set_auto_startup_notification() is called
|
||||
* to disable that feature.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
void
|
||||
gdk_notify_startup_complete (void)
|
||||
{
|
||||
gdk_notify_startup_complete_with_id (NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
* gdk_notify_startup_complete_with_id:
|
||||
* @startup_id: a startup-notification identifier, for which
|
||||
* notification process should be completed
|
||||
*
|
||||
* Indicates to the GUI environment that the application has
|
||||
* finished loading, using a given identifier.
|
||||
*
|
||||
* GTK+ will call this function automatically for #GtkWindow
|
||||
* with custom startup-notification identifier unless
|
||||
* gtk_window_set_auto_startup_notification() is called to
|
||||
* disable that feature.
|
||||
*
|
||||
* Since: 2.12
|
||||
*/
|
||||
void
|
||||
gdk_notify_startup_complete_with_id (const gchar* startup_id)
|
||||
{
|
||||
GdkDisplay *display;
|
||||
|
||||
display = gdk_display_get_default ();
|
||||
if (display)
|
||||
gdk_display_notify_startup_complete (display, startup_id);
|
||||
}
|
||||
|
||||
/**
|
||||
* gdk_display_notify_startup_complete:
|
||||
* @display: a #GdkDisplay
|
||||
|
@ -45,11 +45,6 @@ const gchar * gdk_get_program_class (void);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_set_program_class (const gchar *program_class);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_notify_startup_complete (void);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_notify_startup_complete_with_id (const gchar* startup_id);
|
||||
|
||||
/* Push and pop error handlers for X errors
|
||||
*/
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
|
Loading…
Reference in New Issue
Block a user