app/core/gimpitem.c app/core/gimpobject.c app/dialogs/preferences-dialog.c

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.


svn path=/trunk/; revision=26517
This commit is contained in:
Sven Neumann 2008-08-12 14:45:59 +00:00 committed by Sven Neumann
parent 83b6d3a006
commit ee58f4c90d
11 changed files with 31 additions and 17 deletions

View File

@ -1,3 +1,17 @@
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.
2008-08-12 Sven Neumann <sven@gimp.org> 2008-08-12 Sven Neumann <sven@gimp.org>
* configure.in (sed-po-makefiles): create the stamp-it files in * configure.in (sed-po-makefiles): create the stamp-it files in

View File

@ -577,7 +577,7 @@ gimp_item_convert (GimpItem *item,
* different from the name it already has, and pushes an entry onto the * 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 * 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, * 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. * Returns: %TRUE if the @item could be renamed, %FALSE otherwise.
*/ */

View File

@ -184,7 +184,7 @@ gimp_object_get_property (GObject *object,
* @name: the @object's new name * @name: the @object's new name
* *
* Sets the @object's name. Takes care of freeing the old name and * 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 void
gimp_object_set_name (GimpObject *object, gimp_object_set_name (GimpObject *object,
@ -284,7 +284,7 @@ gimp_object_get_name (const GimpObject *object)
* gimp_object_name_changed: * gimp_object_name_changed:
* @object: a #GimpObject * @object: a #GimpObject
* *
* Causes the "name-changed" signal to be emitted. * Causes the ::name-changed signal to be emitted.
**/ **/
void void
gimp_object_name_changed (GimpObject *object) gimp_object_name_changed (GimpObject *object)
@ -303,7 +303,7 @@ gimp_object_name_changed (GimpObject *object)
* *
* In general you should be using gimp_object_set_name() instead. But * 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 * 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! * ever free the object name directly!
**/ **/
void void

View File

@ -511,10 +511,10 @@ prefs_input_devices_dialog (GtkWidget *widget,
G_CALLBACK (gtk_widget_destroy), G_CALLBACK (gtk_widget_destroy),
input_dialog); input_dialog);
g_signal_connect (input_dialog, "enable_device", g_signal_connect (input_dialog, "enable-device",
G_CALLBACK (prefs_input_dialog_able_callback), G_CALLBACK (prefs_input_dialog_able_callback),
NULL); NULL);
g_signal_connect (input_dialog, "disable_device", g_signal_connect (input_dialog, "disable-device",
G_CALLBACK (prefs_input_dialog_able_callback), G_CALLBACK (prefs_input_dialog_able_callback),
NULL); NULL);

View File

@ -888,7 +888,7 @@ fp_create_preview (GtkWidget **preview,
*preview = gimp_preview_area_new (); *preview = gimp_preview_area_new ();
gtk_widget_set_size_request (*preview, preview_width, preview_height); 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); G_CALLBACK (fp_preview_size_allocate), NULL);
gtk_widget_show (*preview); gtk_widget_show (*preview);
gtk_container_add (GTK_CONTAINER (*frame), *preview); gtk_container_add (GTK_CONTAINER (*frame), *preview);

View File

@ -735,7 +735,7 @@ dialog (gint32 image_ID,
gtk_table_attach_defaults (GTK_TABLE (width), chain_button, 1, 3, 2, 3); gtk_table_attach_defaults (GTK_TABLE (width), chain_button, 1, 3, 2, 3);
gtk_widget_show (chain_button); 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 * of keeping the entries in sync when the chainbutton is active
*/ */
g_signal_connect (width, "value-changed", g_signal_connect (width, "value-changed",
@ -798,14 +798,14 @@ dialog (gint32 image_ID,
gtk_table_attach_defaults (GTK_TABLE (space), chain_button, 1, 3, 2, 3); gtk_table_attach_defaults (GTK_TABLE (space), chain_button, 1, 3, 2, 3);
gtk_widget_show (chain_button); 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 * we have to take care of keeping the entries in sync when the
* chainbutton is active * chainbutton is active
*/ */
g_signal_connect (space, "value-changed", g_signal_connect (space, "value-changed",
G_CALLBACK (entry_callback), G_CALLBACK (entry_callback),
chain_button); chain_button);
g_signal_connect (space, "unit_changed", g_signal_connect (space, "unit-changed",
G_CALLBACK (entry_callback), G_CALLBACK (entry_callback),
chain_button); chain_button);
g_signal_connect_swapped (space, "value-changed", g_signal_connect_swapped (space, "value-changed",
@ -871,14 +871,14 @@ dialog (gint32 image_ID,
gtk_table_attach_defaults (GTK_TABLE (table), chain_button, 0, 2, 0, 1); gtk_table_attach_defaults (GTK_TABLE (table), chain_button, 0, 2, 0, 1);
gtk_widget_show (chain_button); 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 * we have to take care of keeping the entries in sync when the
* chainbutton is active * chainbutton is active
*/ */
g_signal_connect (offset, "value-changed", g_signal_connect (offset, "value-changed",
G_CALLBACK (entry_callback), G_CALLBACK (entry_callback),
chain_button); chain_button);
g_signal_connect (offset, "unit_changed", g_signal_connect (offset, "unit-changed",
G_CALLBACK (entry_callback), G_CALLBACK (entry_callback),
chain_button); chain_button);
g_signal_connect_swapped (offset, "value-changed", g_signal_connect_swapped (offset, "value-changed",

View File

@ -677,7 +677,7 @@ new_preview (gint *sfn)
gtk_widget_set_size_request (preview, gtk_widget_set_size_request (preview,
PREVIEW_SIZE, PREVIEW_SIZE); PREVIEW_SIZE, PREVIEW_SIZE);
gtk_widget_show (preview); gtk_widget_show (preview);
g_signal_connect_swapped (preview, "size_allocate", g_signal_connect_swapped (preview, "size-allocate",
G_CALLBACK (preview_update), st); G_CALLBACK (preview_update), st);
label = gtk_label_new (""); label = gtk_label_new ("");

View File

@ -1189,7 +1189,7 @@ explorer_dialog (void)
cmap_preview = gimp_preview_area_new (); cmap_preview = gimp_preview_area_new ();
gtk_widget_set_size_request (cmap_preview, 32, 32); gtk_widget_set_size_request (cmap_preview, 32, 32);
gtk_container_add (GTK_CONTAINER (abox), cmap_preview); 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); G_CALLBACK (cmap_preview_size_allocate), NULL);
gtk_widget_show (cmap_preview); gtk_widget_show (cmap_preview);

View File

@ -1045,7 +1045,7 @@ add_objects_list (void)
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view)); selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view));
gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE); 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), G_CALLBACK (activate_fractal_callback),
NULL); NULL);
gtk_container_add (GTK_CONTAINER (scrolled_win), view); gtk_container_add (GTK_CONTAINER (scrolled_win), view);

View File

@ -1278,7 +1278,7 @@ dialog(GimpDrawable *drawable)
G_CALLBACK (close_callback), NULL); G_CALLBACK (close_callback), NULL);
g_signal_connect (dlg, "key-press-event", g_signal_connect (dlg, "key-press-event",
G_CALLBACK (key_press_cb), NULL); 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_CALLBACK (key_release_cb), NULL);
g_signal_connect (dlg, "destroy", g_signal_connect (dlg, "destroy",

View File

@ -435,7 +435,7 @@ make_selection(ObjectList_t *object_list)
/* Drop support */ /* Drop support */
gtk_drag_dest_set (list, GTK_DEST_DEFAULT_ALL, target_table, 2, gtk_drag_dest_set (list, GTK_DEST_DEFAULT_ALL, target_table, 2,
GDK_ACTION_COPY); 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 */ /* For handling doubleclick */