summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkx.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2007-03-13 17:03:54 +0000
committerEmmanuele Bassi <ebassi@src.gnome.org>2007-03-13 17:03:54 +0000
commit87c28d778aeb173bede7a88029c76ccf5da04c09 (patch)
treea22bce1482aa547f6d66e06797987c5f4cf097d4 /gdk/x11/gdkx.h
parent500435f2f95c0fcc5fa3e49fa8c7814e5046aaf5 (diff)
downloadgtk+-87c28d778aeb173bede7a88029c76ccf5da04c09.tar.gz
Apply patch by Vytautas Liuolia for changing the startup notification id
2007-03-13 Emmanuele Bassi <ebassi@gnome.org> 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
Diffstat (limited to 'gdk/x11/gdkx.h')
-rw-r--r--gdk/x11/gdkx.h2
1 files changed, 2 insertions, 0 deletions
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);