# HG changeset patch # User ib # Date 1365068485 0 # Node ID 968e936dc8981772edb4f243651724a9bdc990d3 # Parent 31f6a88593b348b91dbcbf154730f8931f0ad0f1 Cosmetic: Rename signal handler function. Consistently either use _ or _ if it's used for more than one widget. diff -r 31f6a88593b3 -r 968e936dc898 gui/dialog/url.c --- a/gui/dialog/url.c Thu Apr 04 09:39:03 2013 +0000 +++ b/gui/dialog/url.c Thu Apr 04 09:41:25 2013 +0000 @@ -38,7 +38,7 @@ static GtkWidget *urlEntry; static GList *urlEntries; -static void on_Button_pressed(GtkButton *button, gpointer user_data) +static void button_clicked(GtkButton *button, gpointer user_data) { urlItem *item; @@ -125,8 +125,8 @@ gtk_widget_add_accelerator(Cancel, "clicked", accel_group, GDK_Escape, 0, GTK_ACCEL_VISIBLE); gtk_signal_connect(GTK_OBJECT(URLDialog), "destroy", GTK_SIGNAL_FUNC(gtk_widget_destroyed), &URLDialog); - gtk_signal_connect(GTK_OBJECT(Ok), "clicked", GTK_SIGNAL_FUNC(on_Button_pressed), (void *)1); - gtk_signal_connect(GTK_OBJECT(Cancel), "clicked", GTK_SIGNAL_FUNC(on_Button_pressed), NULL); + gtk_signal_connect(GTK_OBJECT(Ok), "clicked", GTK_SIGNAL_FUNC(button_clicked), (void *)1); + gtk_signal_connect(GTK_OBJECT(Cancel), "clicked", GTK_SIGNAL_FUNC(button_clicked), NULL); gtk_widget_grab_focus(urlEntry); gtk_window_add_accel_group(GTK_WINDOW(URLDialog), accel_group);