Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Wed, 30 Jan 2013 21:21:58 UTC Commit: 1143cc99ed4aa68be025eec827f18c87eec9d562 https://github.com/geany/geany-plugins/commit/1143cc99ed4aa68be025eec827f18c...
Log Message: ----------- GeanyPG: Get rid of long-deprecated gtk_menu_append()
gtk_menu_append() is deprecated in favor of gtk_menu_shell_append() since GTK 1.3.7, I think it's safe to get rid of it.
Modified Paths: -------------- geanypg/src/geanypg.c
Modified: geanypg/src/geanypg.c 8 files changed, 4 insertions(+), 4 deletions(-) =================================================================== @@ -93,10 +93,10 @@ void plugin_init(GeanyData *data) gtk_widget_show(decrypt); gtk_widget_show(verify);
- gtk_menu_append(GTK_MENU(submenu), encrypt); - gtk_menu_append(GTK_MENU(submenu), sign); - gtk_menu_append(GTK_MENU(submenu), decrypt); - gtk_menu_append(GTK_MENU(submenu), verify); + gtk_menu_shell_append(GTK_MENU_SHELL(submenu), encrypt); + gtk_menu_shell_append(GTK_MENU_SHELL(submenu), sign); + gtk_menu_shell_append(GTK_MENU_SHELL(submenu), decrypt); + gtk_menu_shell_append(GTK_MENU_SHELL(submenu), verify);
gtk_menu_item_set_submenu(GTK_MENU_ITEM(main_menu_item), submenu);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).