Branch: refs/heads/master Author: LarsGit223 lars_paulsen@web.de Committer: LarsGit223 lars_paulsen@web.de Date: Mon, 13 May 2019 17:13:31 UTC Commit: fa53474dbc1cadbfa2832ef67519f84f2cfd3d93 https://github.com/geany/geany-plugins/commit/fa53474dbc1cadbfa2832ef67519f8...
Log Message: ----------- lipsum: fixed deprecated gtk call for gtk3
Modified Paths: -------------- lipsum/src/lipsum.c
Modified: lipsum/src/lipsum.c 4 lines changed, 4 insertions(+), 0 deletions(-) =================================================================== @@ -219,7 +219,11 @@ plugin_init(G_GNUC_UNUSED GeanyData *data) g_free(config_file);
/* Building menu entry */ +#if GTK_CHECK_VERSION(3, 10, 0) + menu_lipsum = gtk_menu_item_new_with_mnemonic(_("_Lipsum...")); +#else menu_lipsum = gtk_image_menu_item_new_with_mnemonic(_("_Lipsum...")); +#endif gtk_widget_set_tooltip_text(menu_lipsum, _("Include Pseudotext to your code")); gtk_widget_show(menu_lipsum); g_signal_connect((gpointer) menu_lipsum, "activate",
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org