[geany/geany-plugins] 8320b7: extrasel: fixed deprecated gtk call

LarsGit223 git-noreply at xxxxx
Mon May 13 18:28:59 UTC 2019


Branch:      refs/heads/master
Author:      LarsGit223 <lars_paulsen at web.de>
Committer:   LarsGit223 <lars_paulsen at web.de>
Date:        Mon, 13 May 2019 18:28:59 UTC
Commit:      8320b73349ac59853e2155fec68a753aedcd2960
             https://github.com/geany/geany-plugins/commit/8320b73349ac59853e2155fec68a753aedcd2960

Log Message:
-----------
extrasel: fixed deprecated gtk call


Modified Paths:
--------------
    geanyextrasel/src/extrasel.c

Modified: geanyextrasel/src/extrasel.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -334,7 +334,11 @@ static void doit_and_select(guint group_id, guint key_id)
 		else
 		{
 			if (geany_data->prefs->beep_on_errors)
+#if GTK_CHECK_VERSION(2, 2, 0)
+				gdk_display_beep(gdk_display_get_default());
+#else
 				gdk_beep();
+#endif
 			return;
 		}
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list