Skip to content

Commit

Permalink
gtk: use GLIB_CHECK_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Jul 18, 2015
1 parent 4e44a75 commit 52d1c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gtk/gtk_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ static void notify_incoming_call(struct gtk_mod *mod,

notification = g_notification_new("Incoming call");

#ifdef G_NOTIFICATION_PRIORITY_URGENT
#if GLIB_CHECK_VERSION(2,42,0)
g_notification_set_priority(notification,
G_NOTIFICATION_PRIORITY_URGENT);
#else
Expand Down

0 comments on commit 52d1c33

Please sign in to comment.