Skip to content

Commit

Permalink
Use new plugin_configure_single() instead of using
Browse files Browse the repository at this point in the history
plugin_configure() wrongly.



git-svn-id: https://geany-plugins.svn.sourceforge.net/svnroot/geany-plugins/trunk/geany-plugins@951 e8383189-8249-0410-b506-acc975200cbd
  • Loading branch information
ntrel committed Sep 24, 2009
1 parent aa925e7 commit 8ca5032
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions geanylua/ChangeLog
@@ -1,3 +1,7 @@
September 24, 2009 (ntrel)
Use new plugin_configure_single() instead of using
plugin_configure() wrongly.

September 16, 2009 (ntrel)
Fix possible memory leak; use keybindings_set_item() so we don't
leave Geany to free our memory (bad practice).
Expand Down
4 changes: 2 additions & 2 deletions geanylua/geanylua.c
Expand Up @@ -221,10 +221,10 @@ void plugin_init(GeanyData *data)


PLUGIN_EXPORT
GtkWidget *plugin_configure(G_GNUC_UNUSED GtkDialog *dialog)
GtkWidget *plugin_configure_single(GtkWidget *parent)
{
if (glspi_configure) {
glspi_configure(geany->main_widgets->window);
glspi_configure(parent);
} else {
dialogs_show_msgbox(GTK_MESSAGE_ERROR,
_("The %s plugin failed to load properly.\n"
Expand Down

0 comments on commit 8ca5032

Please sign in to comment.