Revision: 1755 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1755&view=re... Author: frlan Date: 2010-11-19 00:22:23 +0000 (Fri, 19 Nov 2010)
Log Message: ----------- GeanyLaTeX: Remove some unused variables
Modified Paths: -------------- trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2010-11-19 00:22:05 UTC (rev 1754) +++ trunk/geanylatex/src/geanylatex.c 2010-11-19 00:22:23 UTC (rev 1755) @@ -791,21 +791,17 @@ glatex_insert_label_activated(G_GNUC_UNUSED GtkMenuItem * menuitem, G_GNUC_UNUSED gpointer gdata) { - GtkWidget *dialog = NULL; - GtkWidget *vbox = NULL; - GtkWidget *label = NULL; - GtkWidget *textbox_label = NULL; - GtkWidget *table = NULL; - - - gchar *input = dialogs_show_input(_("Insert Label"), - GTK_WINDOW(geany->main_widgets->window), - _("Label name:"), - NULL); + gchar *input = NULL; + input = dialogs_show_input(_("Insert Label"), + GTK_WINDOW(geany->main_widgets->window), + _("Label name:"), + NULL); + if (input) { gchar *label_str = NULL; + label_str = g_strconcat("\label{",input , "}", NULL); glatex_insert_string(label_str, TRUE); g_free(input);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org