| 610 } |
610 } |
| 611 } |
611 } |
| 612 |
612 |
| 613 static void * |
613 static void * |
| 614 pidgin_notify_uri(const char *uri) { |
614 pidgin_notify_uri(const char *uri) { |
| 615 #if GTK_CHECK_VERSION(4, 10, 0) |
|
| 616 GtkUriLauncher *launcher = NULL; |
615 GtkUriLauncher *launcher = NULL; |
| 617 launcher = gtk_uri_launcher_new(uri); |
616 launcher = gtk_uri_launcher_new(uri); |
| 618 gtk_uri_launcher_launch(launcher, NULL, NULL, NULL, NULL); |
617 gtk_uri_launcher_launch(launcher, NULL, NULL, NULL, NULL); |
| 619 g_object_unref(launcher); |
618 g_object_unref(launcher); |
| 620 #else |
|
| 621 gtk_show_uri(NULL, uri, GDK_CURRENT_TIME); |
|
| 622 #endif |
|
| 623 |
619 |
| 624 return NULL; |
620 return NULL; |
| 625 } |
621 } |
| 626 |
622 |
| 627 static void* |
623 static void* |