Make a few variable holding strings constant
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5622 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
4ac3ccbd37
commit
15937490ec
@ -584,7 +584,8 @@ void tools_word_count(void)
|
||||
GtkWidget *dialog, *label, *vbox, *table;
|
||||
GeanyDocument *doc;
|
||||
guint chars = 0, lines = 0, words = 0;
|
||||
gchar *text, *range;
|
||||
gchar *text;
|
||||
const gchar *range;
|
||||
|
||||
doc = document_get_current();
|
||||
g_return_if_fail(doc != NULL);
|
||||
|
@ -2015,9 +2015,9 @@ static void ui_menu_move(GtkWidget *menu, GtkWidget *old, GtkWidget *new)
|
||||
|
||||
typedef struct GeanySharedMenu
|
||||
{
|
||||
gchar *menu;
|
||||
gchar *menubar_item;
|
||||
gchar *popup_item;
|
||||
const gchar *menu;
|
||||
const gchar *menubar_item;
|
||||
const gchar *popup_item;
|
||||
}
|
||||
GeanySharedMenu;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user