Mercurial > pidgin.yaz
comparison src/conversation.c @ 315:68637b451377
[gaim-migrate @ 325]
Hee hee hee
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 02 Jun 2000 18:03:18 +0000 |
parents | 0a8b4edc4732 |
children | f5b199e20d12 |
comparison
equal
deleted
inserted
replaced
314:f6183455b855 | 315:68637b451377 |
---|---|
1235 | 1235 |
1236 gtk_signal_connect(GTK_OBJECT(win), "delete_event", GTK_SIGNAL_FUNC(delete_event_convo), c); | 1236 gtk_signal_connect(GTK_OBJECT(win), "delete_event", GTK_SIGNAL_FUNC(delete_event_convo), c); |
1237 gtk_signal_connect(GTK_OBJECT(entry), "insert-text", GTK_SIGNAL_FUNC(check_spelling), entry); | 1237 gtk_signal_connect(GTK_OBJECT(entry), "insert-text", GTK_SIGNAL_FUNC(check_spelling), entry); |
1238 gtk_signal_connect(GTK_OBJECT(entry), "key_press_event", GTK_SIGNAL_FUNC(entry_key_pressed), entry); | 1238 gtk_signal_connect(GTK_OBJECT(entry), "key_press_event", GTK_SIGNAL_FUNC(entry_key_pressed), entry); |
1239 | 1239 |
1240 strncpy(c->current_fontface, fontface, sizeof(c->current_fontface)); | 1240 if (fontface) |
1241 strncpy(c->current_fontname, fontname, sizeof(c->current_fontname)); | 1241 strncpy(c->current_fontface, fontface, sizeof(c->current_fontface)); |
1242 if (fontname) | |
1243 strncpy(c->current_fontname, fontname, sizeof(c->current_fontname)); | |
1242 | 1244 |
1243 set_font_face(NULL, c); | 1245 set_font_face(NULL, c); |
1244 | 1246 |
1245 gtk_widget_show(win); | 1247 gtk_widget_show(win); |
1246 } | 1248 } |