SF.net SVN: geany-plugins: [56] trunk/geanysendmail/src/geanysendmail.c
frlan at users.sourceforge.net
frlan at xxxxx
Fri May 30 16:47:47 UTC 2008
Revision: 56
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=56&view=rev
Author: frlan
Date: 2008-05-30 09:47:47 -0700 (Fri, 30 May 2008)
Log Message:
-----------
GeanySendMail: Make plugin compile with Geany svn r 2630
Modified Paths:
--------------
trunk/geanysendmail/src/geanysendmail.c
Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c 2008-05-29 10:26:44 UTC (rev 55)
+++ trunk/geanysendmail/src/geanysendmail.c 2008-05-30 16:47:47 UTC (rev 56)
@@ -42,7 +42,7 @@
GeanyData *geany_data;
GeanyFunctions *geany_functions;
-VERSION_CHECK(63)
+VERSION_CHECK(64)
PLUGIN_SET_INFO(_("GeanySendMail"), _("A little plugin to send the current \
file as attachment by user's favorite mailer"), "0.4dev", "Frank Lanitz <frank at frank.uvena.de>")
@@ -105,7 +105,7 @@
idx = p_document->get_cur_idx();
- if (doc_list[idx].file_name == NULL)
+ if (documents[idx]->file_name == NULL)
{
p_dialogs->show_save_as();
}
@@ -114,11 +114,11 @@
p_document->save_file(idx, FALSE);
}
- if (doc_list[idx].file_name != NULL)
+ if (documents[idx]->file_name != NULL)
{
if (mailer)
{
- locale_filename = p_utils->get_locale_from_utf8(doc_list[idx].file_name);
+ locale_filename = p_utils->get_locale_from_utf8(documents[idx]->file_name);
cmd_str = g_string_new(mailer);
if (! p_utils->string_replace_all(cmd_str, "%f", locale_filename))
@@ -202,7 +202,7 @@
}
}
-void configure(GtkWidget *parent)
+void plugin_configure(GtkWidget *parent)
{
GtkWidget *dialog, *label1, *label2, *entry, *vbox;
GtkWidget *checkbox_icon_to_toolbar = NULL;
@@ -295,7 +295,7 @@
}
/* Called by Geany to initialize the plugin */
-void init(GeanyData G_GNUC_UNUSED *data)
+void plugin_init(GeanyData G_GNUC_UNUSED *data)
{
GtkTooltips *tooltips = NULL;
@@ -352,7 +352,7 @@
}
-void cleanup()
+void plugin_cleanup()
{
gtk_widget_destroy(plugin_fields->menu_item);
cleanup_icon();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list