gtk+ r21059 - in trunk: . gdk



Author: neo
Date: Mon Aug 11 09:15:37 2008
New Revision: 21059
URL: http://svn.gnome.org/viewvc/gtk+?rev=21059&view=rev

Log:
2008-08-11  Sven Neumann  <sven gimp org>

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



Modified:
   trunk/ChangeLog
   trunk/gdk/gdkdisplaymanager.c
   trunk/gdk/gdkkeys.c
   trunk/gdk/gdkscreen.c

Modified: trunk/gdk/gdkdisplaymanager.c
==============================================================================
--- trunk/gdk/gdkdisplaymanager.c	(original)
+++ trunk/gdk/gdkdisplaymanager.c	Mon Aug 11 09:15:37 2008
@@ -87,7 +87,7 @@
    * 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),

Modified: trunk/gdk/gdkkeys.c
==============================================================================
--- trunk/gdk/gdkkeys.c	(original)
+++ trunk/gdk/gdkkeys.c	Mon Aug 11 09:15:37 2008
@@ -49,13 +49,13 @@
    * 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 @@
    * 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),

Modified: trunk/gdk/gdkscreen.c
==============================================================================
--- trunk/gdk/gdkscreen.c	(original)
+++ trunk/gdk/gdkscreen.c	Mon Aug 11 09:15:37 2008
@@ -92,13 +92,13 @@
    * 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 @@
    * 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 @@
    * 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 @@
    * 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),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]