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).
This commit is contained in:

committed by
Kristian Rietveld

parent
d75b1a1a0a
commit
761a6745c3
@ -1,3 +1,11 @@
|
||||
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>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
|
||||
|
@ -1,3 +1,11 @@
|
||||
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>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
|
||||
|
@ -1,3 +1,11 @@
|
||||
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>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
|
||||
|
@ -1,3 +1,11 @@
|
||||
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>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
|
||||
|
@ -1,3 +1,11 @@
|
||||
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>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
|
||||
|
@ -105,7 +105,7 @@ static void gtk_entry_completion_selection_changed (GtkTreeSelection
|
||||
|
||||
static void gtk_entry_completion_insert_action (GtkEntryCompletion *completion,
|
||||
gint index,
|
||||
gchar *string,
|
||||
const gchar *string,
|
||||
gboolean markup);
|
||||
static void gtk_entry_completion_action_data_func (GtkTreeViewColumn *tree_column,
|
||||
GtkCellRenderer *cell,
|
||||
@ -870,7 +870,7 @@ gtk_entry_completion_complete (GtkEntryCompletion *completion)
|
||||
static void
|
||||
gtk_entry_completion_insert_action (GtkEntryCompletion *completion,
|
||||
gint index,
|
||||
gchar *string,
|
||||
const gchar *string,
|
||||
gboolean markup)
|
||||
{
|
||||
GtkTreeIter iter;
|
||||
@ -910,7 +910,7 @@ gtk_entry_completion_insert_action (GtkEntryCompletion *completion,
|
||||
void
|
||||
gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion,
|
||||
gint index,
|
||||
gchar *text)
|
||||
const gchar *text)
|
||||
{
|
||||
g_return_if_fail (GTK_IS_ENTRY_COMPLETION (completion));
|
||||
g_return_if_fail (text != NULL);
|
||||
@ -932,7 +932,7 @@ gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion,
|
||||
void
|
||||
gtk_entry_completion_insert_action_markup (GtkEntryCompletion *completion,
|
||||
gint index,
|
||||
gchar *markup)
|
||||
const gchar *markup)
|
||||
{
|
||||
g_return_if_fail (GTK_IS_ENTRY_COMPLETION (completion));
|
||||
g_return_if_fail (markup != NULL);
|
||||
|
@ -87,10 +87,10 @@ void gtk_entry_completion_complete (GtkEntryComplet
|
||||
|
||||
void gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion,
|
||||
gint index,
|
||||
gchar *text);
|
||||
const gchar *text);
|
||||
void gtk_entry_completion_insert_action_markup (GtkEntryCompletion *completion,
|
||||
gint index,
|
||||
gchar *markup);
|
||||
const gchar *markup);
|
||||
void gtk_entry_completion_delete_action (GtkEntryCompletion *completion,
|
||||
gint index);
|
||||
|
||||
|
Reference in New Issue
Block a user