From 87c28d778aeb173bede7a88029c76ccf5da04c09 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 13 Mar 2007 17:03:54 +0000 Subject: Apply patch by Vytautas Liuolia for changing the startup notification id 2007-03-13 Emmanuele Bassi Apply patch by Vytautas Liuolia for changing the startup notification id on a window in the X11 backend. (#347375) * gdk/gdk.h: * gdk/gdkx.h: * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_wit_id() and gdk_x11_display_get_startup_notification_id(). * gdk/gdkwindow.h: * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id(). * gtk/gtkwindow.h: * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to change the startup notification id. (gtk_window_class_init), (gtk_window_init), (gtk_window_set_property): Add write-only "startup-id" property to GtkWindow. (gtk_window_realize): Set the startup notification id on a GtkWindow if it's valid. (gtk_window_map): If we have another valid startup notification id then finish the notification process. svn path=/trunk/; revision=17508 --- gdk/x11/gdkx.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdk/x11/gdkx.h') diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h index f07a5883e7..9563e1b814 100644 --- a/gdk/x11/gdkx.h +++ b/gdk/x11/gdkx.h @@ -142,6 +142,8 @@ gpointer gdk_xid_table_lookup_for_display (GdkDisplay *display, guint32 gdk_x11_get_server_time (GdkWindow *window); guint32 gdk_x11_display_get_user_time (GdkDisplay *display); +G_CONST_RETURN gchar *gdk_x11_display_get_startup_notification_id (GdkDisplay *display); + void gdk_x11_display_set_cursor_theme (GdkDisplay *display, const gchar *theme, const gint size); -- cgit v1.2.1