MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / send_notification

Function send_notification

gtk/src/notifications.c:68–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68static void
69send_notification (const char *title, const char *body, const char *category)
70{
71 g_autoptr(GNotification) notification = g_notification_new(title);
72 g_autoptr(GIcon) icon = g_themed_icon_new("fr.handbrake.ghb");
73 if (body != NULL)
74 {
75 g_notification_set_body(notification, body);
76 }
77 g_notification_set_icon(notification, icon);
78 g_application_send_notification(g_application_get_default(), category, notification);
79}
80
81static void
82notify_done (gboolean final, gboolean success, int64_t idx, signal_user_data_t *ud)

Callers 2

notify_doneFunction · 0.85
notify_pausedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected