[maemo-commits] [maemo-commits] r12524 - in projects/haf/trunk/gtk+: . docs/reference docs/reference/gdk docs/reference/gtk gdk gtk
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Jun 28 11:56:58 EEST 2007
- Previous message: [maemo-commits] r12523 - in projects/haf/trunk/hildon-fm: . debian hildon-fm
- Next message: [maemo-commits] r12525 - in projects/haf/trunk/gtk+: . gdk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: xan Date: 2007-06-28 11:56:43 +0300 (Thu, 28 Jun 2007) New Revision: 12524 Modified: projects/haf/trunk/gtk+/ChangeLog projects/haf/trunk/gtk+/docs/reference/ChangeLog projects/haf/trunk/gtk+/docs/reference/gdk/gdk-sections.txt projects/haf/trunk/gtk+/docs/reference/gtk/gtk-sections.txt projects/haf/trunk/gtk+/gdk/gdk.h projects/haf/trunk/gtk+/gdk/gdkdisplay.c projects/haf/trunk/gtk+/gtk/gtk.symbols Log: 2007-06-28 Xan Lopez <xan.lopez at nokia.com> * gdk/gdk.h: * gdk/gdkdisplay.c: (gdk_close_all_temporary_windows): * gtk/gtk.symbols: Move gtk_window_close_all_temporaries to GDK per Moises' request. It now lives in GDK and it's called gdk_close_all_temporary_windows. Modified: projects/haf/trunk/gtk+/ChangeLog =================================================================== --- projects/haf/trunk/gtk+/ChangeLog 2007-06-28 08:47:28 UTC (rev 12523) +++ projects/haf/trunk/gtk+/ChangeLog 2007-06-28 08:56:43 UTC (rev 12524) @@ -1,3 +1,12 @@ +2007-06-28 Xan Lopez <xan.lopez at nokia.com> + + * gdk/gdk.h: + * gdk/gdkdisplay.c: (gdk_close_all_temporary_windows): + * gtk/gtk.symbols: + + Move gtk_window_close_all_temporaries to GDK per Moises' request. + It now lives in GDK and it's called gdk_close_all_temporary_windows. + 2007-06-27 Xan Lopez <xan.lopez at nokia.com> * gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate): Modified: projects/haf/trunk/gtk+/docs/reference/ChangeLog =================================================================== --- projects/haf/trunk/gtk+/docs/reference/ChangeLog 2007-06-28 08:47:28 UTC (rev 12523) +++ projects/haf/trunk/gtk+/docs/reference/ChangeLog 2007-06-28 08:56:43 UTC (rev 12524) @@ -1,3 +1,10 @@ +2007-06-28 Xan Lopez <xan.lopez at nokia.com> + + * gdk/gdk-sections.txt: + * gtk/gtk-sections.txt: + + Move close temporary windows helper function from GTK to GDK. + 2007-06-27 Xan Lopez <xan.lopez at nokia.com> * gtk/gtk-sections.txt: Add Temporary window doc. Modified: projects/haf/trunk/gtk+/docs/reference/gdk/gdk-sections.txt =================================================================== --- projects/haf/trunk/gtk+/docs/reference/gdk/gdk-sections.txt 2007-06-28 08:47:28 UTC (rev 12523) +++ projects/haf/trunk/gtk+/docs/reference/gdk/gdk-sections.txt 2007-06-28 08:56:43 UTC (rev 12524) @@ -1075,6 +1075,7 @@ <SUBSECTION> gdk_event_send_client_message gdk_event_send_client_message_for_display +gdk_close_all_temporary_windows gdk_event_send_clientmessage_toall gdk_add_client_message_filter Modified: projects/haf/trunk/gtk+/docs/reference/gtk/gtk-sections.txt =================================================================== --- projects/haf/trunk/gtk+/docs/reference/gtk/gtk-sections.txt 2007-06-28 08:47:28 UTC (rev 12523) +++ projects/haf/trunk/gtk+/docs/reference/gtk/gtk-sections.txt 2007-06-28 08:56:43 UTC (rev 12524) @@ -5239,7 +5239,6 @@ gtk_window_set_icon_from_file gtk_window_set_icon_name gtk_window_set_auto_startup_notification -gtk_window_close_all_temporaries gtk_window_set_temporary gtk_window_is_temporary <SUBSECTION Standard> Modified: projects/haf/trunk/gtk+/gdk/gdk.h =================================================================== --- projects/haf/trunk/gtk+/gdk/gdk.h 2007-06-28 08:47:28 UTC (rev 12523) +++ projects/haf/trunk/gtk+/gdk/gdk.h 2007-06-28 08:56:43 UTC (rev 12524) @@ -169,6 +169,9 @@ #ifndef GDK_MULTIHEAD_SAFE gboolean gdk_event_send_client_message (GdkEvent *event, GdkNativeWindow winid); +#ifdef MAEMO_CHANGES +void gdk_close_all_temporary_windows (); +#endif /* MAEMO_CHANGES */ void gdk_event_send_clientmessage_toall (GdkEvent *event); #endif gboolean gdk_event_send_client_message_for_display (GdkDisplay *display, Modified: projects/haf/trunk/gtk+/gdk/gdkdisplay.c =================================================================== --- projects/haf/trunk/gtk+/gdk/gdkdisplay.c 2007-06-28 08:47:28 UTC (rev 12523) +++ projects/haf/trunk/gtk+/gdk/gdkdisplay.c 2007-06-28 08:56:43 UTC (rev 12524) @@ -335,7 +335,29 @@ event, winid); } +#ifdef MAEMO_CHANGES /** + * gdk_close_all_temporary_windows: + * + * Sends a _GTK_DELETE_TEMPORARIES ClientEvent to all toplevel windows + * + * Since: 2.12 + * Stability: Unstable + */ +void +gdk_close_all_temporary_windows () +{ + GdkEventClient client; + + memset(&client, 0, sizeof(client)); + client.message_type = gdk_atom_intern ("_GTK_DELETE_TEMPORARIES", FALSE); + client.data_format = 32; + + gdk_event_send_clientmessage_toall ((GdkEvent*)&client); +} +#endif /* MAEMO_CHANGES */ + +/** * gdk_event_send_clientmessage_toall: * @event: the #GdkEvent to send, which should be a #GdkEventClient. * Modified: projects/haf/trunk/gtk+/gtk/gtk.symbols =================================================================== --- projects/haf/trunk/gtk+/gtk/gtk.symbols 2007-06-28 08:47:28 UTC (rev 12523) +++ projects/haf/trunk/gtk+/gtk/gtk.symbols 2007-06-28 08:56:43 UTC (rev 12524) @@ -4604,7 +4604,6 @@ gtk_window_add_mnemonic gtk_window_begin_move_drag gtk_window_begin_resize_drag -gtk_window_close_all_temporaries gtk_window_deiconify gtk_window_fullscreen gtk_window_get_accept_focus
- Previous message: [maemo-commits] r12523 - in projects/haf/trunk/hildon-fm: . debian hildon-fm
- Next message: [maemo-commits] r12525 - in projects/haf/trunk/gtk+: . gdk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]