Mercurial > pidgin.yaz
changeset 4095:260ebd4bdc8d
[gaim-migrate @ 4310]
fix for bug [ 655519 ] Crash on changing sound command
from faceprint
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 18 Dec 2002 16:51:21 +0000 |
parents | 3f15ccb54f95 |
children | 72d973958607 |
files | src/prefs.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;