# HG changeset patch # User meillo@marmaro.de # Date 1267709010 -3600 # Node ID 75a30c850ea0ccfb8a570e17e56853287cf54ea1 # Parent c18ba4ea1514c1e46003962314630af6eea8d688 more cosmetic changes diff -r c18ba4ea1514 -r 75a30c850ea0 interface.c --- a/interface.c Thu Mar 04 14:18:19 2010 +0100 +++ b/interface.c Thu Mar 04 14:23:30 2010 +0100 @@ -297,8 +297,7 @@ gtk_widget_set_name(ratio_optionmenu, "ratio_optionmenu"); gtk_widget_show(ratio_optionmenu); gtk_table_attach(GTK_TABLE(table3), ratio_optionmenu, 0, 2, 0, 1, - (GtkAttachOptions)(GTK_FILL), - (GtkAttachOptions)(0), 0, 0); + (GtkAttachOptions)(GTK_FILL), (GtkAttachOptions)(0), 0, 0); menu1 = gtk_menu_new(); gtk_widget_set_name(menu1, "menu1"); @@ -453,95 +452,71 @@ g_signal_connect(G_OBJECT(cropper_window), "show", - G_CALLBACK(on_cropper_window_create), - NULL); + G_CALLBACK(on_cropper_window_create), NULL); /* destroy */ g_signal_connect(G_OBJECT(cropper_window), "destroy", - G_CALLBACK(on_cropper_window_destroy), - NULL); + G_CALLBACK(on_cropper_window_destroy), NULL); /* crop */ g_signal_connect(G_OBJECT(crop_okbutton), "clicked", - G_CALLBACK(on_crop_clicked), - NULL); + G_CALLBACK(on_crop_clicked), NULL); /* zoom */ g_signal_connect(G_OBJECT(crop_zoom_in_button), "clicked", - G_CALLBACK(on_zoom_in_button_clicked), - NULL); + G_CALLBACK(on_zoom_in_button_clicked), NULL); g_signal_connect(G_OBJECT(crop_zoom_out_button), "clicked", - G_CALLBACK(on_zoom_out_button_clicked), - NULL); + G_CALLBACK(on_zoom_out_button_clicked), NULL); g_signal_connect(G_OBJECT(crop_zoom_100_button), "clicked", - G_CALLBACK(on_zoom_100_button_clicked), - NULL); + G_CALLBACK(on_zoom_100_button_clicked), NULL); g_signal_connect(G_OBJECT(crop_zoom_fit_button), "clicked", - G_CALLBACK(on_zoom_fit_button_clicked), - NULL); + G_CALLBACK(on_zoom_fit_button_clicked), NULL); /* aspect ratio */ /* g_signal_connect(G_OBJECT(ratio_w_spinbutton), "value_changed", - G_CALLBACK(on_ratio_w_spinbutton_value_changed), - NULL); + G_CALLBACK(on_ratio_w_spinbutton_value_changed), NULL); g_signal_connect(G_OBJECT(ratio_swap_button), "clicked", - G_CALLBACK(on_ratio_swap_button_clicked), - NULL); + G_CALLBACK(on_ratio_swap_button_clicked), NULL); g_signal_connect(G_OBJECT(ratio_h_spinbutton), "value_changed", - G_CALLBACK(on_ratio_h_spinbutton_value_changed), - NULL); + G_CALLBACK(on_ratio_h_spinbutton_value_changed), NULL); g_signal_connect(G_OBJECT(ratio_none), "activate", - G_CALLBACK(on_ratio_none_activate), - NULL); + G_CALLBACK(on_ratio_none_activate), NULL); g_signal_connect(G_OBJECT(ratio_square), "activate", - G_CALLBACK(on_ratio_square_activate), - NULL); + G_CALLBACK(on_ratio_square_activate), NULL); g_signal_connect(G_OBJECT(ratio_4x3), "activate", - G_CALLBACK(on_ratio_4x3_activate), - NULL); + G_CALLBACK(on_ratio_4x3_activate), NULL); g_signal_connect(G_OBJECT(ratio_3x2), "activate", - G_CALLBACK(on_ratio_3x2_activate), - NULL); + G_CALLBACK(on_ratio_3x2_activate), NULL); g_signal_connect(G_OBJECT(ratio_custom), "activate", - G_CALLBACK(on_ratio_custom_activate), - NULL); + G_CALLBACK(on_ratio_custom_activate), NULL); g_signal_connect(G_OBJECT(lookup_widget(cropper_window, "ratio_optionmenu")), "changed", - G_CALLBACK(ratio_optionmenu_changed_cb), - NULL); + G_CALLBACK(ratio_optionmenu_changed_cb), NULL); g_signal_connect(G_OBJECT(lookup_widget(cropper_window, "ratio_w_spinbutton")), "value_changed", - G_CALLBACK(ratio_value_changed_cb), - NULL); + G_CALLBACK(ratio_value_changed_cb), NULL); g_signal_connect(G_OBJECT(lookup_widget(cropper_window, "ratio_h_spinbutton")), "value_changed", - G_CALLBACK(ratio_value_changed_cb), - NULL); + G_CALLBACK(ratio_value_changed_cb), NULL); g_signal_connect(G_OBJECT(lookup_widget(cropper_window, "ratio_swap_button")), "clicked", - G_CALLBACK(ratio_swap_button_cb), - NULL); + G_CALLBACK(ratio_swap_button_cb), NULL); */ /* selection */ /* g_signal_connect(G_OBJECT(lookup_widget(cropper_window, "crop_x_spinbutton")), "value_changed", - G_CALLBACK(selection_x_value_changed_cb), - data); + G_CALLBACK(selection_x_value_changed_cb), data); g_signal_connect(G_OBJECT(lookup_widget(cropper_window, "crop_y_spinbutton")), "value_changed", - G_CALLBACK(selection_y_value_changed_cb), - data); + G_CALLBACK(selection_y_value_changed_cb), data); g_signal_connect(G_OBJECT(lookup_widget(cropper_window, "crop_width_spinbutton")), "value_changed", - G_CALLBACK(selection_width_value_changed_cb), - data); + G_CALLBACK(selection_width_value_changed_cb), data); g_signal_connect(G_OBJECT(lookup_widget(cropper_window, "crop_height_spinbutton")), "value_changed", - G_CALLBACK(selection_height_value_changed_cb), - data); + G_CALLBACK(selection_height_value_changed_cb), data); g_signal_connect(G_OBJECT(lookup_widget(cropper_window, "crop_image")), "selection_changed", - G_CALLBACK(selection_changed_cb), - data); + G_CALLBACK(selection_changed_cb), data); */