cleanup, removed unecessary G_OBJECT() casts.
2003-01-06 Manish Singh <yosh@gimp.org> * lots of files in plug-ins: cleanup, removed unecessary G_OBJECT() casts.
This commit is contained in:

committed by
Manish Singh

parent
2079245f48
commit
01dbd2c339
@ -387,28 +387,28 @@ rectangle_create_info_widget(GtkWidget *frame)
|
||||
label = create_label_in_table(table, 0, 0, _("Upper left _x:"));
|
||||
props->x = create_spin_button_in_table(table, label, 0, 1, 1, 0,
|
||||
max_width - 1);
|
||||
g_signal_connect(G_OBJECT(props->x), "value_changed",
|
||||
g_signal_connect(props->x, "value_changed",
|
||||
G_CALLBACK(x_changed_cb), (gpointer) props);
|
||||
create_label_in_table(table, 0, 3, _("pixels"));
|
||||
|
||||
label = create_label_in_table(table, 1, 0, _("Upper left _y:"));
|
||||
props->y = create_spin_button_in_table(table, label, 1, 1, 1, 0,
|
||||
max_height - 1);
|
||||
g_signal_connect(G_OBJECT(props->y), "value_changed",
|
||||
g_signal_connect(props->y, "value_changed",
|
||||
G_CALLBACK(y_changed_cb), (gpointer) props);
|
||||
create_label_in_table(table, 1, 3, _("pixels"));
|
||||
|
||||
label = create_label_in_table(table, 2, 0, _("_Width:"));
|
||||
props->width = create_spin_button_in_table(table, label, 2, 1, 1, 1,
|
||||
max_width);
|
||||
g_signal_connect(G_OBJECT(props->width), "value_changed",
|
||||
g_signal_connect(props->width, "value_changed",
|
||||
G_CALLBACK(width_changed_cb), (gpointer) props);
|
||||
create_label_in_table(table, 2, 3, _("pixels"));
|
||||
|
||||
label = create_label_in_table(table, 3, 0, _("_Height:"));
|
||||
props->height = create_spin_button_in_table(table, label, 3, 1, 1, 1,
|
||||
max_height);
|
||||
g_signal_connect(G_OBJECT(props->height), "value_changed",
|
||||
g_signal_connect(props->height, "value_changed",
|
||||
G_CALLBACK(height_changed_cb), (gpointer) props);
|
||||
create_label_in_table(table, 3, 3, _("pixels"));
|
||||
|
||||
|
Reference in New Issue
Block a user