[geany/geany-plugins] 898264: Merge pull request #858 from LarsGit223/extrasel-gtk3

Frank Lanitz git-noreply at xxxxx
Tue May 14 15:03:21 UTC 2019


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   GitHub <noreply at github.com>
Date:        Tue, 14 May 2019 15:03:21 UTC
Commit:      8982649398d08a736a2788ee20671253114fe63f
             https://github.com/geany/geany-plugins/commit/8982649398d08a736a2788ee20671253114fe63f

Log Message:
-----------
Merge pull request #858 from LarsGit223/extrasel-gtk3

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