Commit 761a6745 authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

the gchar* parameters should be const (pointed out by both Marco Pesenti

Sat Oct 11 15:47:03 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
	(gtk_entry_completion_insert_action_text),
	(gtk_entry_completion_insert_action_markup): the gchar* parameters
	should be const (pointed out by both Marco Pesenti Gritti and
	Murray Cumming (#124356).
parent d75b1a1a
Sat Oct 11 15:47:03 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
(gtk_entry_completion_insert_action_text),
(gtk_entry_completion_insert_action_markup): the gchar* parameters
should be const (pointed out by both Marco Pesenti Gritti and
Murray Cumming (#124356).
Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org> Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
......
Sat Oct 11 15:47:03 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
(gtk_entry_completion_insert_action_text),
(gtk_entry_completion_insert_action_markup): the gchar* parameters
should be const (pointed out by both Marco Pesenti Gritti and
Murray Cumming (#124356).
Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org> Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
......
Sat Oct 11 15:47:03 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
(gtk_entry_completion_insert_action_text),
(gtk_entry_completion_insert_action_markup): the gchar* parameters
should be const (pointed out by both Marco Pesenti Gritti and
Murray Cumming (#124356).
Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org> Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
......
Sat Oct 11 15:47:03 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
(gtk_entry_completion_insert_action_text),
(gtk_entry_completion_insert_action_markup): the gchar* parameters
should be const (pointed out by both Marco Pesenti Gritti and
Murray Cumming (#124356).
Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org> Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
......
Sat Oct 11 15:47:03 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
(gtk_entry_completion_insert_action_text),
(gtk_entry_completion_insert_action_markup): the gchar* parameters
should be const (pointed out by both Marco Pesenti Gritti and
Murray Cumming (#124356).
Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org> Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
......
...@@ -105,7 +105,7 @@ static void gtk_entry_completion_selection_changed (GtkTreeSelection ...@@ -105,7 +105,7 @@ static void gtk_entry_completion_selection_changed (GtkTreeSelection
static void gtk_entry_completion_insert_action (GtkEntryCompletion *completion, static void gtk_entry_completion_insert_action (GtkEntryCompletion *completion,
gint index, gint index,
gchar *string, const gchar *string,
gboolean markup); gboolean markup);
static void gtk_entry_completion_action_data_func (GtkTreeViewColumn *tree_column, static void gtk_entry_completion_action_data_func (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell, GtkCellRenderer *cell,
...@@ -870,7 +870,7 @@ gtk_entry_completion_complete (GtkEntryCompletion *completion) ...@@ -870,7 +870,7 @@ gtk_entry_completion_complete (GtkEntryCompletion *completion)
static void static void
gtk_entry_completion_insert_action (GtkEntryCompletion *completion, gtk_entry_completion_insert_action (GtkEntryCompletion *completion,
gint index, gint index,
gchar *string, const gchar *string,
gboolean markup) gboolean markup)
{ {
GtkTreeIter iter; GtkTreeIter iter;
...@@ -910,7 +910,7 @@ gtk_entry_completion_insert_action (GtkEntryCompletion *completion, ...@@ -910,7 +910,7 @@ gtk_entry_completion_insert_action (GtkEntryCompletion *completion,
void void
gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion, gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion,
gint index, gint index,
gchar *text) const gchar *text)
{ {
g_return_if_fail (GTK_IS_ENTRY_COMPLETION (completion)); g_return_if_fail (GTK_IS_ENTRY_COMPLETION (completion));
g_return_if_fail (text != NULL); g_return_if_fail (text != NULL);
...@@ -932,7 +932,7 @@ gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion, ...@@ -932,7 +932,7 @@ gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion,
void void
gtk_entry_completion_insert_action_markup (GtkEntryCompletion *completion, gtk_entry_completion_insert_action_markup (GtkEntryCompletion *completion,
gint index, gint index,
gchar *markup) const gchar *markup)
{ {
g_return_if_fail (GTK_IS_ENTRY_COMPLETION (completion)); g_return_if_fail (GTK_IS_ENTRY_COMPLETION (completion));
g_return_if_fail (markup != NULL); g_return_if_fail (markup != NULL);
......
...@@ -87,10 +87,10 @@ void gtk_entry_completion_complete (GtkEntryComplet ...@@ -87,10 +87,10 @@ void gtk_entry_completion_complete (GtkEntryComplet
void gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion, void gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion,
gint index, gint index,
gchar *text); const gchar *text);
void gtk_entry_completion_insert_action_markup (GtkEntryCompletion *completion, void gtk_entry_completion_insert_action_markup (GtkEntryCompletion *completion,
gint index, gint index,
gchar *markup); const gchar *markup);
void gtk_entry_completion_delete_action (GtkEntryCompletion *completion, void gtk_entry_completion_delete_action (GtkEntryCompletion *completion,
gint index); gint index);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment