Mercurial > pidgin.yaz
comparison src/protocols/novell/novell.c @ 11246:df67c09ade6e
[gaim-migrate @ 13415]
Fix another one of those gaim_request handler bugs.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 13 Aug 2005 00:49:50 +0000 |
parents | 8e600ee6ec61 |
children | bb0d7b719af2 |
comparison
equal
deleted
inserted
replaced
11245:5c15a709835f | 11246:df67c09ade6e |
---|---|
1865 | 1865 |
1866 static void | 1866 static void |
1867 _evt_conference_invite(NMUser * user, NMEvent * event) | 1867 _evt_conference_invite(NMUser * user, NMEvent * event) |
1868 { | 1868 { |
1869 NMUserRecord *ur; | 1869 NMUserRecord *ur; |
1870 GaimConnection *gc; | |
1870 GSList *parms = NULL; | 1871 GSList *parms = NULL; |
1871 const char *title = NULL; | 1872 const char *title = NULL; |
1872 const char *secondary = NULL; | 1873 const char *secondary = NULL; |
1873 const char *name = NULL; | 1874 const char *name = NULL; |
1874 char *primary = NULL; | 1875 char *primary = NULL; |
1894 parms = NULL; | 1895 parms = NULL; |
1895 parms = g_slist_append(parms, user); | 1896 parms = g_slist_append(parms, user); |
1896 parms = g_slist_append(parms, nm_event_get_conference(event)); | 1897 parms = g_slist_append(parms, nm_event_get_conference(event)); |
1897 | 1898 |
1898 /* Prompt the user */ | 1899 /* Prompt the user */ |
1899 gaim_request_action(NULL, title, primary, secondary, | 1900 gc = gaim_account_get_connection(user->client_data); |
1901 gaim_request_action(gc, title, primary, secondary, | |
1900 GAIM_DEFAULT_ACTION_NONE, parms, 2, | 1902 GAIM_DEFAULT_ACTION_NONE, parms, 2, |
1901 _("Yes"), G_CALLBACK(_join_conference_cb), | 1903 _("Yes"), G_CALLBACK(_join_conference_cb), |
1902 _("No"), G_CALLBACK(_reject_conference_cb)); | 1904 _("No"), G_CALLBACK(_reject_conference_cb)); |
1903 | 1905 |
1904 g_free(primary); | 1906 g_free(primary); |