[geany/geany-plugins] b9c2f5: geanysendmail: Use proper C prototypes for functions without arguments

Colomban Wendling git-noreply at xxxxx
Sun Jul 8 14:43:28 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 08 Jul 2012 14:43:28
Commit:      b9c2f541a178e2caa33de8316207a4796a57f3a4
             https://github.com/geany/geany-plugins/commit/b9c2f541a178e2caa33de8316207a4796a57f3a4

Log Message:
-----------
geanysendmail: Use proper C prototypes for functions without arguments


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

Modified: geanysendmail/src/geanysendmail.c
6 files changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -209,7 +209,7 @@ static void add_stock_item(void)
 }
 
 
-static void show_icon()
+static void show_icon(void)
 {
 	mailbutton = GTK_WIDGET(gtk_tool_button_new_from_stock(GEANYSENDMAIL_STOCK_MAIL));
 	plugin_add_toolbar_item(geany_plugin, GTK_TOOL_ITEM(mailbutton));
@@ -222,7 +222,7 @@ static void show_icon()
 	icon_in_toolbar = TRUE;
 }
 
-static void cleanup_icon()
+static void cleanup_icon(void)
 {
 	if (mailbutton != NULL)
 	{
@@ -393,7 +393,7 @@ void plugin_init(GeanyData G_GNUC_UNUSED *data)
 }
 
 
-void plugin_cleanup()
+void plugin_cleanup(void)
 {
 	gtk_widget_destroy(main_menu_item);
 	cleanup_icon();


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Plugins-Commits mailing list