Commit 19a65560 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

use the canonical form of signal names.

2005-06-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/*/*.c: use the canonical form of signal names.
parent cad7543c
2005-06-29 Sven Neumann <sven@gimp.org>
* plug-ins/*/*.c: use the canonical form of signal names.
2005-06-28 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpwidgetsenums.[ch]: added enum
......
......@@ -592,19 +592,19 @@ explorer_dialog (void)
gtk_widget_set_size_request (wint.preview, preview_width, preview_height);
gtk_container_add (GTK_CONTAINER (frame), wint.preview);
g_signal_connect (wint.preview, "button_press_event",
g_signal_connect (wint.preview, "button-press-event",
G_CALLBACK (preview_button_press_event),
NULL);
g_signal_connect (wint.preview, "button_release_event",
g_signal_connect (wint.preview, "button-release-event",
G_CALLBACK (preview_button_release_event),
NULL);
g_signal_connect (wint.preview, "motion_notify_event",
g_signal_connect (wint.preview, "motion-notify-event",
G_CALLBACK (preview_motion_notify_event),
NULL);
g_signal_connect (wint.preview, "leave_notify_event",
g_signal_connect (wint.preview, "leave-notify-event",
G_CALLBACK (preview_leave_notify_event),
NULL);
g_signal_connect (wint.preview, "enter_notify_event",
g_signal_connect (wint.preview, "enter-notify-event",
G_CALLBACK (preview_enter_notify_event),
NULL);
......@@ -708,7 +708,7 @@ explorer_dialog (void)
TRUE, 0, 0,
_("Change the first (minimal) x-coordinate "
"delimitation"), NULL);
g_signal_connect (elements->xmin, "value_changed",
g_signal_connect (elements->xmin, "value-changed",
G_CALLBACK (explorer_double_adjustment_update),
&wvals.xmin);
......@@ -719,7 +719,7 @@ explorer_dialog (void)
TRUE, 0, 0,
_("Change the second (maximal) x-coordinate "
"delimitation"), NULL);
g_signal_connect (elements->xmax, "value_changed",
g_signal_connect (elements->xmax, "value-changed",
G_CALLBACK (explorer_double_adjustment_update),
&wvals.xmax);
......@@ -730,7 +730,7 @@ explorer_dialog (void)
TRUE, 0, 0,
_("Change the first (minimal) y-coordinate "
"delimitation"), NULL);
g_signal_connect (elements->ymin, "value_changed",
g_signal_connect (elements->ymin, "value-changed",
G_CALLBACK (explorer_double_adjustment_update),
&wvals.ymin);
......@@ -741,7 +741,7 @@ explorer_dialog (void)
TRUE, 0, 0,
_("Change the second (maximal) y-coordinate "
"delimitation"), NULL);
g_signal_connect (elements->ymax, "value_changed",
g_signal_connect (elements->ymax, "value-changed",
G_CALLBACK (explorer_double_adjustment_update),
&wvals.ymax);
......@@ -753,7 +753,7 @@ explorer_dialog (void)
_("Change the iteration value. The higher it "
"is, the more details will be calculated, "
"which will take more time"), NULL);
g_signal_connect (elements->iter, "value_changed",
g_signal_connect (elements->iter, "value-changed",
G_CALLBACK (explorer_double_adjustment_update),
&wvals.iter);
......@@ -765,7 +765,7 @@ explorer_dialog (void)
_("Change the CX value (changes aspect of "
"fractal, active with every fractal but "
"Mandelbrot and Sierpinski)"), NULL);
g_signal_connect (elements->cx, "value_changed",
g_signal_connect (elements->cx, "value-changed",
G_CALLBACK (explorer_double_adjustment_update),
&wvals.cx);
......@@ -777,7 +777,7 @@ explorer_dialog (void)
_("Change the CY value (changes aspect of "
"fractal, active with every fractal but "
"Mandelbrot and Sierpinski)"), NULL);
g_signal_connect (elements->cy, "value_changed",
g_signal_connect (elements->cy, "value-changed",
G_CALLBACK (explorer_double_adjustment_update),
&wvals.cy);
......@@ -907,7 +907,7 @@ explorer_dialog (void)
TRUE, 0, 0,
_("Change the number of colors in the mapping"),
NULL);
g_signal_connect (elements->ncol, "value_changed",
g_signal_connect (elements->ncol, "value-changed",
G_CALLBACK (explorer_number_of_colors_callback),
&wvals.ncolors);
......@@ -939,7 +939,7 @@ explorer_dialog (void)
wvals.redstretch, 0, 1, 0.01, 0.1, 2,
TRUE, 0, 0,
_("Change the intensity of the red channel"), NULL);
g_signal_connect (elements->red, "value_changed",
g_signal_connect (elements->red, "value-changed",
G_CALLBACK (explorer_double_adjustment_update),
&wvals.redstretch);
......@@ -949,7 +949,7 @@ explorer_dialog (void)
wvals.greenstretch, 0, 1, 0.01, 0.1, 2,
TRUE, 0, 0,
_("Change the intensity of the green channel"), NULL);
g_signal_connect (elements->green, "value_changed",
g_signal_connect (elements->green, "value-changed",
G_CALLBACK (explorer_double_adjustment_update),
&wvals.greenstretch);
......@@ -959,7 +959,7 @@ explorer_dialog (void)
wvals.bluestretch, 0, 1, 0.01, 0.1, 2,
TRUE, 0, 0,
_("Change the intensity of the blue channel"), NULL);
g_signal_connect (elements->blue, "value_changed",
g_signal_connect (elements->blue, "value-changed",
G_CALLBACK (explorer_double_adjustment_update),
&wvals.bluestretch);
......
......@@ -330,7 +330,7 @@ create_options_page (void)
3, TRUE, 0.0, 0.0,
"Distance of observer from surface",
"plug-in-lighting");
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (distance_update),
NULL);
......@@ -420,7 +420,7 @@ create_light_page (void)
&mapvals.lightsource[k].color,
GIMP_COLOR_AREA_FLAT);
gimp_color_button_set_update (GIMP_COLOR_BUTTON (colorbutton), TRUE);
g_signal_connect (colorbutton, "color_changed",
g_signal_connect (colorbutton, "color-changed",
G_CALLBACK (apply_settings),
NULL);
gtk_widget_show (colorbutton);
......@@ -437,7 +437,7 @@ create_light_page (void)
gimp_table_attach_aligned (GTK_TABLE (table), 0, 3,
_("_Intensity:"), 0.0, 0.5,
spin_intensity, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (apply_settings),
NULL);
gimp_help_set_help_data (spin_intensity,
......@@ -455,7 +455,7 @@ create_light_page (void)
gimp_table_attach_aligned (GTK_TABLE (table), 2, 1,
_("_X:"), 0.0, 0.5,
spin_pos_x, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (apply_settings),
NULL);
gimp_help_set_help_data (spin_pos_x,
......@@ -468,7 +468,7 @@ create_light_page (void)
gimp_table_attach_aligned (GTK_TABLE (table), 2, 2,
_("_Y:"), 0.0, 0.5,
spin_pos_y, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (apply_settings),
NULL);
gimp_help_set_help_data (spin_pos_y,
......@@ -481,7 +481,7 @@ create_light_page (void)
gimp_table_attach_aligned (GTK_TABLE (table), 2, 3,
_("_Z:"), 0.0, 0.5,
spin_pos_z, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (apply_settings),
NULL);
gimp_help_set_help_data (spin_pos_z,
......@@ -498,7 +498,7 @@ create_light_page (void)
gimp_table_attach_aligned (GTK_TABLE (table), 4, 1,
_("X:"), 0.0, 0.5,
spin_dir_x, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (apply_settings),
NULL);
gimp_help_set_help_data (spin_dir_x,
......@@ -510,7 +510,7 @@ create_light_page (void)
gimp_table_attach_aligned (GTK_TABLE (table), 4, 2,
_("Y:"), 0.0, 0.5,
spin_dir_y, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (apply_settings),
NULL);
gimp_help_set_help_data (spin_dir_y,
......@@ -522,7 +522,7 @@ create_light_page (void)
gimp_table_attach_aligned (GTK_TABLE (table), 4, 3,
_("Z:"), 0.0, 0.5,
spin_dir_z, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (apply_settings),
NULL);
gimp_help_set_help_data (spin_dir_z,
......@@ -610,10 +610,10 @@ create_material_page (void)
0, G_MAXFLOAT, 0.01, 0.1, 1.0, 0.0, 2);
gtk_table_attach (GTK_TABLE (table), spinbutton, 2, 3, 0, 1,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.material.ambient_int);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (interactive_preview_callback),
NULL);
gtk_widget_show (spinbutton);
......@@ -639,10 +639,10 @@ create_material_page (void)
0, G_MAXFLOAT, 0.01, 0.1, 1.0, 0.0, 2);
gtk_table_attach (GTK_TABLE (table), spinbutton, 2, 3, 1, 2,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.material.diffuse_int);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (interactive_preview_callback),
NULL);
gtk_widget_show (spinbutton);
......@@ -668,10 +668,10 @@ create_material_page (void)
0, G_MAXFLOAT, 0.01, 0.1, 1.0, 0.0, 2);
gtk_table_attach (GTK_TABLE (table), spinbutton, 2, 3, 2, 3,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.material.specular_ref);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (interactive_preview_callback),
NULL);
gtk_widget_show (spinbutton);
......@@ -696,10 +696,10 @@ create_material_page (void)
0, G_MAXFLOAT, 0.01, 0.1, 1.0, 0.0, 2);
gtk_table_attach (GTK_TABLE (table), spinbutton, 2, 3, 3, 4,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.material.highlight);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (interactive_preview_callback),
NULL);
gtk_widget_show (spinbutton);
......@@ -805,10 +805,10 @@ create_bump_page (void)
gimp_table_attach_aligned (GTK_TABLE (table), 0, 2,
_("Ma_ximum height:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.bumpmax);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (interactive_preview_callback),
NULL);
......
......@@ -604,7 +604,7 @@ create_options_page (void)
1, TRUE, 0, 0,
_("Antialiasing quality. Higher is better, "
"but slower"), NULL);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.maxdepth);
......@@ -614,7 +614,7 @@ create_options_page (void)
_("_Threshold:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.pixeltreshold);
......@@ -684,7 +684,7 @@ create_light_page (void)
_("Lightsource color:"), 0.0, 0.5,
colorbutton, 1, FALSE);
g_signal_connect (colorbutton, "color_changed",
g_signal_connect (colorbutton, "color-changed",
G_CALLBACK (gimp_color_button_get_color),
&mapvals.lightsource.color);
......@@ -710,7 +710,7 @@ create_light_page (void)
_("X:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (xadj, "value_changed",
g_signal_connect (xadj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.lightsource.position.x);
......@@ -724,7 +724,7 @@ create_light_page (void)
_("Y:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (yadj, "value_changed",
g_signal_connect (yadj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.lightsource.position.y);
......@@ -738,7 +738,7 @@ create_light_page (void)
_("Z:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (zadj, "value_changed",
g_signal_connect (zadj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.lightsource.position.z);
......@@ -764,7 +764,7 @@ create_light_page (void)
_("X:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.lightsource.direction.x);
......@@ -777,7 +777,7 @@ create_light_page (void)
_("Y:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.lightsource.direction.y);
......@@ -790,7 +790,7 @@ create_light_page (void)
_("Z:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.lightsource.direction.z);
......@@ -851,7 +851,7 @@ create_material_page (void)
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (spinbutton);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.material.ambient_int);
......@@ -880,7 +880,7 @@ create_material_page (void)
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (spinbutton);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.material.diffuse_int);
......@@ -923,7 +923,7 @@ create_material_page (void)
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (spinbutton);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.material.diffuse_ref);
......@@ -952,7 +952,7 @@ create_material_page (void)
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (spinbutton);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.material.specular_ref);
......@@ -981,7 +981,7 @@ create_material_page (void)
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (spinbutton);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_double_adjustment_update),
&mapvals.material.highlight);
......@@ -1037,7 +1037,7 @@ create_orientation_page (void)
gtk_spin_button_configure (GIMP_SCALE_ENTRY_SPINBUTTON (adj),
GIMP_SCALE_ENTRY_SPINBUTTON_ADJ (adj), 0.01, 5);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.position.x);
......@@ -1050,7 +1050,7 @@ create_orientation_page (void)
gtk_spin_button_configure (GIMP_SCALE_ENTRY_SPINBUTTON (adj),
GIMP_SCALE_ENTRY_SPINBUTTON_ADJ (adj), 0.01, 5);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.position.y);
......@@ -1063,7 +1063,7 @@ create_orientation_page (void)
gtk_spin_button_configure (GIMP_SCALE_ENTRY_SPINBUTTON (adj),
GIMP_SCALE_ENTRY_SPINBUTTON_ADJ (adj), 0.01, 5);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.position.z);
......@@ -1084,7 +1084,7 @@ create_orientation_page (void)
_("Rotation angle about X axis"), NULL);
gtk_size_group_add_widget (group, GIMP_SCALE_ENTRY_SPINBUTTON (adj));
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.alpha);
......@@ -1095,7 +1095,7 @@ create_orientation_page (void)
_("Rotation angle about Y axis"), NULL);
gtk_size_group_add_widget (group, GIMP_SCALE_ENTRY_SPINBUTTON (adj));
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.beta);
......@@ -1106,7 +1106,7 @@ create_orientation_page (void)
_("Rotation angle about Z axis"), NULL);
gtk_size_group_add_widget (group, GIMP_SCALE_ENTRY_SPINBUTTON (adj));
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.gamma);
......@@ -1182,7 +1182,7 @@ create_box_page (void)
gtk_spin_button_configure (GIMP_SCALE_ENTRY_SPINBUTTON (adj),
GIMP_SCALE_ENTRY_SPINBUTTON_ADJ (adj), 0.1, 2);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.scale.x);
......@@ -1194,7 +1194,7 @@ create_box_page (void)
gtk_spin_button_configure (GIMP_SCALE_ENTRY_SPINBUTTON (adj),
GIMP_SCALE_ENTRY_SPINBUTTON_ADJ (adj), 0.1, 2);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.scale.y);
......@@ -1206,7 +1206,7 @@ create_box_page (void)
gtk_spin_button_configure (GIMP_SCALE_ENTRY_SPINBUTTON (adj),
GIMP_SCALE_ENTRY_SPINBUTTON_ADJ (adj), 0.1, 2);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.scale.z);
......@@ -1279,7 +1279,7 @@ create_cylinder_page (void)
gtk_spin_button_configure (GIMP_SCALE_ENTRY_SPINBUTTON (adj),
GIMP_SCALE_ENTRY_SPINBUTTON_ADJ (adj), 0.1, 2);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.cylinder_radius);
......@@ -1293,7 +1293,7 @@ create_cylinder_page (void)
gtk_spin_button_configure (GIMP_SCALE_ENTRY_SPINBUTTON (adj),
GIMP_SCALE_ENTRY_SPINBUTTON_ADJ (adj), 0.1, 2);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (double_adjustment_update),
&mapvals.cylinder_length);
......
......@@ -438,7 +438,7 @@ alienmap2_dialog (void)
_("Number of cycles covering full value range"),
NULL);
label_freq_rh = GIMP_SCALE_ENTRY_LABEL (adj);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (dialog_scale_update),
&wvals.redfrequency);
......@@ -450,7 +450,7 @@ alienmap2_dialog (void)
_("Phase angle, range 0-360"),
NULL);
label_phase_rh = GIMP_SCALE_ENTRY_LABEL (adj);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (dialog_scale_update),
&wvals.redangle);
......@@ -462,7 +462,7 @@ alienmap2_dialog (void)
_("Number of cycles covering full value range"),
NULL);
label_freq_gs = GIMP_SCALE_ENTRY_LABEL (adj);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (dialog_scale_update),
&wvals.greenfrequency);
......@@ -474,7 +474,7 @@ alienmap2_dialog (void)
_("Phase angle, range 0-360"),
NULL);
label_phase_gs = GIMP_SCALE_ENTRY_LABEL (adj);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (dialog_scale_update),
&wvals.greenangle);
......@@ -486,7 +486,7 @@ alienmap2_dialog (void)
_("Number of cycles covering full value range"),
NULL);
label_freq_bl = GIMP_SCALE_ENTRY_LABEL (adj);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (dialog_scale_update),
&wvals.bluefrequency);
......@@ -498,7 +498,7 @@ alienmap2_dialog (void)
_("Phase angle, range 0-360"),
NULL);
label_phase_bl = GIMP_SCALE_ENTRY_LABEL (adj);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (dialog_scale_update),
&wvals.blueangle);
......
......@@ -1838,7 +1838,7 @@ function_graph_new (GtkWidget *widget,
gtk_widget_set_size_request (preview, 256, 256);
gtk_container_add (GTK_CONTAINER (frame), preview);
gtk_widget_show (preview);
g_signal_connect (preview, "expose_event",
g_signal_connect (preview, "expose-event",
G_CALLBACK (function_graph_expose), data);
gtk_widget_show (dlg);
......@@ -1968,7 +1968,7 @@ CML_save_to_file_callback (GtkWidget *widget,
g_signal_connect (dialog, "response",
G_CALLBACK (CML_save_to_file_response),
NULL);
g_signal_connect (dialog, "delete_event",
g_signal_connect (dialog, "delete-event",
G_CALLBACK (gtk_true),
NULL);
}
......@@ -2145,7 +2145,7 @@ CML_load_from_file_callback (GtkWidget *widget,
g_signal_connect (dialog, "response",
G_CALLBACK (CML_load_from_file_response),
NULL);
g_signal_connect (dialog, "delete_event",
g_signal_connect (dialog, "delete-event",
G_CALLBACK (gtk_true),
NULL);
}
......@@ -2466,7 +2466,7 @@ CML_explorer_int_entry_init (WidgetEntry *widget_entry,
GtkObject *adjustment,
gpointer value_ptr)
{
g_signal_connect (adjustment, "value_changed",
g_signal_connect (adjustment, "value-changed",
G_CALLBACK (CML_explorer_int_adjustment_update),
value_ptr);
......@@ -2499,7 +2499,7 @@ CML_explorer_double_entry_init (WidgetEntry *widget_entry,
GtkObject *adjustment,
gpointer value_ptr)
{
g_signal_connect (adjustment, "value_changed",
g_signal_connect (adjustment, "value-changed",
G_CALLBACK (CML_explorer_double_adjustment_update),
value_ptr);
......
......@@ -482,7 +482,7 @@ align_layers_dialog (void)
VALS.grid_size, 0, 200, 1, 10, 0,
TRUE, 0, 0,
NULL, NULL);
g_signal_connect (adj, "value_changed",
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_int_adjustment_update),
&VALS.grid_size);
......
......@@ -508,11 +508,11 @@ build_dialog (GimpImageBaseType basetype,
gdk_window_set_cursor(shape_window->window, cursor);
gdk_cursor_unref (cursor);