gdk/gdkkeys.c gdk/gdkscreen.c use canonical signal names.

2008-08-11  Sven Neumann  <sven@gimp.org>

	* gdk/gdkkeys.c
	* gdk/gdkscreen.c
	* gdk/gdkdisplaymanager.c: use canonical signal names.


svn path=/trunk/; revision=21059
This commit is contained in:
Sven Neumann 2008-08-11 09:15:37 +00:00 committed by Sven Neumann
parent d7f19665b4
commit f6176316ca
4 changed files with 17 additions and 11 deletions

View File

@ -1,3 +1,9 @@
2008-08-11 Sven Neumann <sven@gimp.org>
* gdk/gdkkeys.c
* gdk/gdkscreen.c
* gdk/gdkdisplaymanager.c: use canonical signal names.
2008-08-10 Richard Hult <richard@imendio.com>
* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_uris),

View File

@ -87,7 +87,7 @@ gdk_display_manager_class_init (GdkDisplayManagerClass *klass)
* Since: 2.2
*/
signals[DISPLAY_OPENED] =
g_signal_new (g_intern_static_string ("display_opened"),
g_signal_new (g_intern_static_string ("display-opened"),
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkDisplayManagerClass, display_opened),

View File

@ -49,13 +49,13 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
* GdkKeymap::direction-changed:
* @keymap: the object on which the signal is emitted
*
* The ::direction_changed signal gets emitted when the direction of
* The ::direction-changed signal gets emitted when the direction of
* the keymap changes.
*
* Since: 2.0
*/
signals[DIRECTION_CHANGED] =
g_signal_new ("direction_changed",
g_signal_new ("direction-changed",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkKeymapClass, direction_changed),
@ -67,13 +67,13 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
* GdkKeymap::keys-changed:
* @keymap: the object on which the signal is emitted
*
* The ::keys_changed signal is emitted when the mapping represented by
* The ::keys-changed signal is emitted when the mapping represented by
* @keymap changes.
*
* Since: 2.2
*/
signals[KEYS_CHANGED] =
g_signal_new ("keys_changed",
g_signal_new ("keys-changed",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkKeymapClass, keys_changed),

View File

@ -92,13 +92,13 @@ gdk_screen_class_init (GdkScreenClass *klass)
* GdkScreen::size-changed:
* @screen: the object on which the signal is emitted
*
* The ::size_changed signal is emitted when the pixel width or
* The ::size-changed signal is emitted when the pixel width or
* height of a screen changes.
*
* Since: 2.2
*/
signals[SIZE_CHANGED] =
g_signal_new (g_intern_static_string ("size_changed"),
g_signal_new (g_intern_static_string ("size-changed"),
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkScreenClass, size_changed),
@ -111,13 +111,13 @@ gdk_screen_class_init (GdkScreenClass *klass)
* GdkScreen::composited-changed:
* @screen: the object on which the signal is emitted
*
* The ::composited_changed signal is emitted when the composited
* The ::composited-changed signal is emitted when the composited
* status of the screen changes
*
* Since: 2.10
*/
signals[COMPOSITED_CHANGED] =
g_signal_new (g_intern_static_string ("composited_changed"),
g_signal_new (g_intern_static_string ("composited-changed"),
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkScreenClass, composited_changed),
@ -130,7 +130,7 @@ gdk_screen_class_init (GdkScreenClass *klass)
* GdkScreen::monitors-changed:
* @screen: the object on which the signal is emitted
*
* The ::monitors_changed signal is emitted when the number, size
* The ::monitors-changed signal is emitted when the number, size
* or position of the monitors attached to the screen change.
*
* Only for X for now. Future implementations for Win32 and
@ -139,7 +139,7 @@ gdk_screen_class_init (GdkScreenClass *klass)
* Since: 2.14
*/
signals[MONITORS_CHANGED] =
g_signal_new (g_intern_static_string ("monitors_changed"),
g_signal_new (g_intern_static_string ("monitors-changed"),
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkScreenClass, monitors_changed),