| 334 static void |
334 static void |
| 335 pidgin_application_donate(G_GNUC_UNUSED GSimpleAction *simple, |
335 pidgin_application_donate(G_GNUC_UNUSED GSimpleAction *simple, |
| 336 G_GNUC_UNUSED GVariant *parameter, |
336 G_GNUC_UNUSED GVariant *parameter, |
| 337 G_GNUC_UNUSED gpointer data) |
337 G_GNUC_UNUSED gpointer data) |
| 338 { |
338 { |
| 339 purple_notify_uri(NULL, "https://www.imfreedom.org/donate/"); |
339 GtkUriLauncher *launcher = NULL; |
| |
340 |
| |
341 launcher = gtk_uri_launcher_new("https://www.imfreedom.org/donate/"); |
| |
342 gtk_uri_launcher_launch(launcher, NULL, NULL, NULL, NULL); |
| |
343 g_clear_object(&launcher); |
| 340 } |
344 } |
| 341 |
345 |
| 342 static void |
346 static void |
| 343 pidgin_application_edit_account(G_GNUC_UNUSED GSimpleAction *simple, |
347 pidgin_application_edit_account(G_GNUC_UNUSED GSimpleAction *simple, |
| 344 GVariant *parameter, gpointer data) |
348 GVariant *parameter, gpointer data) |
| 425 static void |
429 static void |
| 426 pidgin_application_online_help(G_GNUC_UNUSED GSimpleAction *simple, |
430 pidgin_application_online_help(G_GNUC_UNUSED GSimpleAction *simple, |
| 427 G_GNUC_UNUSED GVariant *parameter, |
431 G_GNUC_UNUSED GVariant *parameter, |
| 428 G_GNUC_UNUSED gpointer data) |
432 G_GNUC_UNUSED gpointer data) |
| 429 { |
433 { |
| 430 purple_notify_uri(NULL, PURPLE_WEBSITE "help"); |
434 GtkUriLauncher *launcher = NULL; |
| |
435 |
| |
436 launcher = gtk_uri_launcher_new(PURPLE_WEBSITE "help"); |
| |
437 gtk_uri_launcher_launch(launcher, NULL, NULL, NULL, NULL); |
| |
438 g_clear_object(&launcher); |
| 431 } |
439 } |
| 432 |
440 |
| 433 static void |
441 static void |
| 434 pidgin_application_preferences(G_GNUC_UNUSED GSimpleAction *simple, |
442 pidgin_application_preferences(G_GNUC_UNUSED GSimpleAction *simple, |
| 435 G_GNUC_UNUSED GVariant *parameter, |
443 G_GNUC_UNUSED GVariant *parameter, |