gimp r26517 - in trunk: . app/core app/dialogs plug-ins/common plug-ins/fractal-explorer plug-ins/imagemap



Author: neo
Date: Tue Aug 12 14:45:59 2008
New Revision: 26517
URL: http://svn.gnome.org/viewvc/gimp?rev=26517&view=rev

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

	* app/core/gimpitem.c
	* app/core/gimpobject.c
	* app/dialogs/preferences-dialog.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_selection.c
	* plug-ins/common/filter-pack.c
	* plug-ins/common/grid.c
	* plug-ins/common/newsprint.c
	* plug-ins/fractal-explorer/fractal-explorer-dialogs.c
	* plug-ins/fractal-explorer/fractal-explorer.c: use canonical
	signal names.



Modified:
   trunk/ChangeLog
   trunk/app/core/gimpitem.c
   trunk/app/core/gimpobject.c
   trunk/app/dialogs/preferences-dialog.c
   trunk/plug-ins/common/filter-pack.c
   trunk/plug-ins/common/grid.c
   trunk/plug-ins/common/newsprint.c
   trunk/plug-ins/fractal-explorer/fractal-explorer-dialogs.c
   trunk/plug-ins/fractal-explorer/fractal-explorer.c
   trunk/plug-ins/imagemap/imap_main.c
   trunk/plug-ins/imagemap/imap_selection.c

Modified: trunk/app/core/gimpitem.c
==============================================================================
--- trunk/app/core/gimpitem.c	(original)
+++ trunk/app/core/gimpitem.c	Tue Aug 12 14:45:59 2008
@@ -577,7 +577,7 @@
  * different from the name it already has, and pushes an entry onto the
  * undo stack for the item's image.  If @new_name is NULL or empty, the
  * default name for the item's class is used.  If the name is changed,
- * the "name_changed" signal is emitted for the item.
+ * the GimpObject::name-changed signal is emitted for the item.
  *
  * Returns: %TRUE if the @item could be renamed, %FALSE otherwise.
  */

Modified: trunk/app/core/gimpobject.c
==============================================================================
--- trunk/app/core/gimpobject.c	(original)
+++ trunk/app/core/gimpobject.c	Tue Aug 12 14:45:59 2008
@@ -184,7 +184,7 @@
  * @name: the @object's new name
  *
  * Sets the @object's name. Takes care of freeing the old name and
- * emitting the "name_changed" signal if the old and new name differ.
+ * emitting the ::name_changed signal if the old and new name differ.
  **/
 void
 gimp_object_set_name (GimpObject  *object,
@@ -284,7 +284,7 @@
  * gimp_object_name_changed:
  * @object: a #GimpObject
  *
- * Causes the "name-changed" signal to be emitted.
+ * Causes the ::name-changed signal to be emitted.
  **/
 void
 gimp_object_name_changed (GimpObject *object)
@@ -303,7 +303,7 @@
  *
  * In general you should be using gimp_object_set_name() instead. But
  * if you ever need to free the object name but don't want the
- * "name-changed" signal to be emitted, then use this function. Never
+ * ::name-changed signal to be emitted, then use this function. Never
  * ever free the object name directly!
  **/
 void

Modified: trunk/app/dialogs/preferences-dialog.c
==============================================================================
--- trunk/app/dialogs/preferences-dialog.c	(original)
+++ trunk/app/dialogs/preferences-dialog.c	Tue Aug 12 14:45:59 2008
@@ -511,10 +511,10 @@
                             G_CALLBACK (gtk_widget_destroy),
                             input_dialog);
 
-  g_signal_connect (input_dialog, "enable_device",
+  g_signal_connect (input_dialog, "enable-device",
                     G_CALLBACK (prefs_input_dialog_able_callback),
                     NULL);
-  g_signal_connect (input_dialog, "disable_device",
+  g_signal_connect (input_dialog, "disable-device",
                     G_CALLBACK (prefs_input_dialog_able_callback),
                     NULL);
 

Modified: trunk/plug-ins/common/filter-pack.c
==============================================================================
--- trunk/plug-ins/common/filter-pack.c	(original)
+++ trunk/plug-ins/common/filter-pack.c	Tue Aug 12 14:45:59 2008
@@ -888,7 +888,7 @@
 
   *preview = gimp_preview_area_new ();
   gtk_widget_set_size_request (*preview, preview_width, preview_height);
-  g_signal_connect (*preview, "size_allocate",
+  g_signal_connect (*preview, "size-allocate",
                     G_CALLBACK (fp_preview_size_allocate), NULL);
   gtk_widget_show (*preview);
   gtk_container_add (GTK_CONTAINER (*frame), *preview);

Modified: trunk/plug-ins/common/grid.c
==============================================================================
--- trunk/plug-ins/common/grid.c	(original)
+++ trunk/plug-ins/common/grid.c	Tue Aug 12 14:45:59 2008
@@ -735,7 +735,7 @@
   gtk_table_attach_defaults (GTK_TABLE (width), chain_button, 1, 3, 2, 3);
   gtk_widget_show (chain_button);
 
-  /* connect to the 'value_changed' signal because we have to take care
+  /* connect to the 'value-changed' signal because we have to take care
    * of keeping the entries in sync when the chainbutton is active
    */
   g_signal_connect (width, "value-changed",
@@ -798,14 +798,14 @@
   gtk_table_attach_defaults (GTK_TABLE (space), chain_button, 1, 3, 2, 3);
   gtk_widget_show (chain_button);
 
-  /* connect to the 'value_changed' and "unit_changed" signals because
+  /* connect to the 'value-changed' and "unit-changed" signals because
    * we have to take care of keeping the entries in sync when the
    * chainbutton is active
    */
   g_signal_connect (space, "value-changed",
                     G_CALLBACK (entry_callback),
                     chain_button);
-  g_signal_connect (space, "unit_changed",
+  g_signal_connect (space, "unit-changed",
                     G_CALLBACK (entry_callback),
                     chain_button);
   g_signal_connect_swapped (space, "value-changed",
@@ -871,14 +871,14 @@
   gtk_table_attach_defaults (GTK_TABLE (table), chain_button, 0, 2, 0, 1);
   gtk_widget_show (chain_button);
 
-  /* connect to the 'value_changed' and "unit_changed" signals because
+  /* connect to the 'value-changed' and "unit-changed" signals because
    * we have to take care of keeping the entries in sync when the
    * chainbutton is active
    */
   g_signal_connect (offset, "value-changed",
                     G_CALLBACK (entry_callback),
                     chain_button);
-  g_signal_connect (offset, "unit_changed",
+  g_signal_connect (offset, "unit-changed",
                     G_CALLBACK (entry_callback),
                     chain_button);
   g_signal_connect_swapped (offset, "value-changed",

Modified: trunk/plug-ins/common/newsprint.c
==============================================================================
--- trunk/plug-ins/common/newsprint.c	(original)
+++ trunk/plug-ins/common/newsprint.c	Tue Aug 12 14:45:59 2008
@@ -677,7 +677,7 @@
       gtk_widget_set_size_request (preview,
                                    PREVIEW_SIZE, PREVIEW_SIZE);
       gtk_widget_show (preview);
-      g_signal_connect_swapped (preview, "size_allocate",
+      g_signal_connect_swapped (preview, "size-allocate",
                                 G_CALLBACK (preview_update), st);
 
       label = gtk_label_new ("");

Modified: trunk/plug-ins/fractal-explorer/fractal-explorer-dialogs.c
==============================================================================
--- trunk/plug-ins/fractal-explorer/fractal-explorer-dialogs.c	(original)
+++ trunk/plug-ins/fractal-explorer/fractal-explorer-dialogs.c	Tue Aug 12 14:45:59 2008
@@ -1189,7 +1189,7 @@
   cmap_preview = gimp_preview_area_new ();
   gtk_widget_set_size_request (cmap_preview, 32, 32);
   gtk_container_add (GTK_CONTAINER (abox), cmap_preview);
-  g_signal_connect (cmap_preview, "size_allocate",
+  g_signal_connect (cmap_preview, "size-allocate",
                     G_CALLBACK (cmap_preview_size_allocate), NULL);
   gtk_widget_show (cmap_preview);
 

Modified: trunk/plug-ins/fractal-explorer/fractal-explorer.c
==============================================================================
--- trunk/plug-ins/fractal-explorer/fractal-explorer.c	(original)
+++ trunk/plug-ins/fractal-explorer/fractal-explorer.c	Tue Aug 12 14:45:59 2008
@@ -1045,7 +1045,7 @@
 
   selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view));
   gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE);
-  g_signal_connect (view, "row_activated",
+  g_signal_connect (view, "row-activated",
                     G_CALLBACK (activate_fractal_callback),
                     NULL);
   gtk_container_add (GTK_CONTAINER (scrolled_win), view);

Modified: trunk/plug-ins/imagemap/imap_main.c
==============================================================================
--- trunk/plug-ins/imagemap/imap_main.c	(original)
+++ trunk/plug-ins/imagemap/imap_main.c	Tue Aug 12 14:45:59 2008
@@ -1278,7 +1278,7 @@
                      G_CALLBACK (close_callback), NULL);
    g_signal_connect (dlg, "key-press-event",
                      G_CALLBACK (key_press_cb), NULL);
-   g_signal_connect (dlg, "key_release_event",
+   g_signal_connect (dlg, "key-release-event",
                      G_CALLBACK (key_release_cb), NULL);
 
    g_signal_connect (dlg, "destroy",

Modified: trunk/plug-ins/imagemap/imap_selection.c
==============================================================================
--- trunk/plug-ins/imagemap/imap_selection.c	(original)
+++ trunk/plug-ins/imagemap/imap_selection.c	Tue Aug 12 14:45:59 2008
@@ -435,7 +435,7 @@
   /* Drop support */
   gtk_drag_dest_set (list, GTK_DEST_DEFAULT_ALL, target_table, 2,
 		     GDK_ACTION_COPY);
-  g_signal_connect (list, "drag_data_received", G_CALLBACK(handle_drop), NULL);
+  g_signal_connect (list, "drag-data-received", G_CALLBACK(handle_drop), NULL);
 
   /* For handling doubleclick */
 



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