Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Wed, 20 Jun 2012 20:53:55 Commit: dc6c21f7c39b9e2fd7300a708a7aff0fbf6e7821 https://github.com/geany/geany-plugins/commit/dc6c21f7c39b9e2fd7300a708a7aff...
Log Message: ----------- treebrowser: Fix a trivial constant string warning
Modified Paths: -------------- treebrowser/src/treebrowser.c
Modified: treebrowser/src/treebrowser.c 6 files changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -149,7 +149,7 @@ enum static void treebrowser_load_bookmarks(void); static void gtk_tree_store_iter_clear_nodes(gpointer iter, gboolean delete_root); static void treebrowser_rename_current(void); -static void on_menu_create_new_object(GtkMenuItem *menuitem, gchar *type); +static void on_menu_create_new_object(GtkMenuItem *menuitem, const gchar *type); static void load_settings(void); static gboolean save_settings(void);
@@ -907,7 +907,7 @@ enum }
static void -treebrowser_create_new_current(gchar *type) +treebrowser_create_new_current(const gchar *type) { on_menu_create_new_object(NULL, type); } @@ -996,7 +996,7 @@ enum }
static void -on_menu_create_new_object(GtkMenuItem *menuitem, gchar *type) +on_menu_create_new_object(GtkMenuItem *menuitem, const gchar *type) { GtkTreeSelection *selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview)); GtkTreeIter iter;
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).