# HG changeset patch # User Luke Schierer # Date 1040230281 0 # Node ID 260ebd4bdc8d70b70c616b672dbef3c388a72729 # Parent 3f15ccb54f95a3cd0371d81cc92c76b8cc0677a5 [gaim-migrate @ 4310] fix for bug [ 655519 ] Crash on changing sound command from faceprint committer: Tailor Script diff -r 3f15ccb54f95 -r 260ebd4bdc8d src/prefs.c --- a/src/prefs.c Wed Dec 18 00:59:24 2002 +0000 +++ b/src/prefs.c Wed Dec 18 16:51:21 2002 +0000 @@ -640,7 +640,7 @@ static GtkWidget *sndcmd = NULL; #ifndef _WIN32 -static gint sound_cmd_yeah(GtkEntry *entry, GdkEvent *event, gpointer d) +static gint sound_cmd_yeah(GtkEntry *entry, gpointer d) { g_snprintf(sound_cmd, sizeof(sound_cmd), "%s", gtk_entry_get_text(GTK_ENTRY(sndcmd))); return TRUE; @@ -705,7 +705,7 @@ gtk_widget_set_sensitive(sndcmd, (sound_options & OPT_SOUND_CMD)); gtk_box_pack_start(GTK_BOX(hbox), sndcmd, TRUE, TRUE, 5); - gtk_signal_connect(GTK_OBJECT(sndcmd), "focus_out_event", GTK_SIGNAL_FUNC(sound_cmd_yeah), NULL); + gtk_signal_connect(GTK_OBJECT(sndcmd), "changed", GTK_SIGNAL_FUNC(sound_cmd_yeah), NULL); #endif /* _WIN32 */ gtk_widget_show_all(ret); return ret;