Mercurial > pidgin.yaz
comparison src/gtknotify.c @ 5794:5e93fc46d1af
[gaim-migrate @ 6219]
Removed the __ prefix from static functions. I love them, but ANSI C
knocked on my door and threatened to sue, saying they own all rights to
them, so I was forced to remove them.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 07 Jun 2003 07:57:24 +0000 |
parents | 9eb5b13fd412 |
children | 059d95c67cda |
comparison
equal
deleted
inserted
replaced
5793:952710ac6635 | 5794:5e93fc46d1af |
---|---|
41 const char **froms, const char **tos, | 41 const char **froms, const char **tos, |
42 const char **urls, GCallback cb, | 42 const char **urls, GCallback cb, |
43 void *user_data); | 43 void *user_data); |
44 | 44 |
45 static void | 45 static void |
46 __email_response_cb(GtkDialog *dialog, gint id, GaimNotifyMailData *data) | 46 email_response_cb(GtkDialog *dialog, gint id, GaimNotifyMailData *data) |
47 { | 47 { |
48 if (id == 0) | 48 if (id == 0) |
49 open_url(NULL, data->url); | 49 open_url(NULL, data->url); |
50 | 50 |
51 gaim_notify_close(GAIM_NOTIFY_EMAILS, data); | 51 gaim_notify_close(GAIM_NOTIFY_EMAILS, data); |
159 | 159 |
160 if (urls != NULL) | 160 if (urls != NULL) |
161 gtk_dialog_add_button(GTK_DIALOG(dialog), GAIM_STOCK_OPEN_MAIL, 0); | 161 gtk_dialog_add_button(GTK_DIALOG(dialog), GAIM_STOCK_OPEN_MAIL, 0); |
162 | 162 |
163 g_signal_connect(G_OBJECT(dialog), "response", | 163 g_signal_connect(G_OBJECT(dialog), "response", |
164 G_CALLBACK(__email_response_cb), data); | 164 G_CALLBACK(email_response_cb), data); |
165 | 165 |
166 /* Setup the dialog */ | 166 /* Setup the dialog */ |
167 gtk_container_set_border_width(GTK_CONTAINER(dialog), 6); | 167 gtk_container_set_border_width(GTK_CONTAINER(dialog), 6); |
168 gtk_container_set_border_width(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), 6); | 168 gtk_container_set_border_width(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), 6); |
169 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); | 169 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); |