[geany/geany-plugins] e61c4f: GeanySendMail: Try to fix a cast-warning

Frank Lanitz git-noreply at xxxxx
Sat Feb 22 10:14:17 UTC 2014


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Sat, 22 Feb 2014 10:14:17 UTC
Commit:      e61c4fcc35ed9fe1a87969f1055c70a389315548
             https://github.com/geany/geany-plugins/commit/e61c4fcc35ed9fe1a87969f1055c70a389315548

Log Message:
-----------
GeanySendMail: Try to fix a cast-warning


Modified Paths:
--------------
    geanysendmail/src/geanysendmail.c

Modified: geanysendmail/src/geanysendmail.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -188,7 +188,7 @@ static void add_stock_item(void)
 	GtkIconSet *icon_set;
 	GtkIconFactory *factory = gtk_icon_factory_new();
 	GtkIconTheme *theme = gtk_icon_theme_get_default();
-	GtkStockItem item = { GEANYSENDMAIL_STOCK_MAIL, N_("Mail"), 0, 0, GETTEXT_PACKAGE };
+	GtkStockItem item = { (gchar*)(GEANYSENDMAIL_STOCK_MAIL), (gchar*)(N_("Mail")), 0, 0, (gchar*)(GETTEXT_PACKAGE) };
 
 	if (gtk_icon_theme_has_icon(theme, "mail-message-new"))
 	{



--------------
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