summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2003-10-11 13:49:22 +0000
committerKristian Rietveld <kristian@src.gnome.org>2003-10-11 13:49:22 +0000
commit761a6745c39a231a443471d0764d0303b0ebd22f (patch)
tree983690d1bc9dc0d3cfb1239ef3adb9de3a9d1138
parentd75b1a1a0ad22c000b634e680b5cd4fc7b7f892d (diff)
downloadgdk-pixbuf-761a6745c39a231a443471d0764d0303b0ebd22f.tar.gz
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).
-rw-r--r--ChangeLog8
-rw-r--r--ChangeLog.pre-2-108
-rw-r--r--ChangeLog.pre-2-48
-rw-r--r--ChangeLog.pre-2-68
-rw-r--r--ChangeLog.pre-2-88
-rw-r--r--gtk/gtkentrycompletion.c8
-rw-r--r--gtk/gtkentrycompletion.h4
7 files changed, 46 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 1cb07007d..ce273f046 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 1cb07007d..ce273f046 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 1cb07007d..ce273f046 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -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
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 1cb07007d..ce273f046 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -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
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 1cb07007d..ce273f046 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index df26ce8a5..73f642189 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -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);
diff --git a/gtk/gtkentrycompletion.h b/gtk/gtkentrycompletion.h
index ecf255778..2a1b23327 100644
--- a/gtk/gtkentrycompletion.h
+++ b/gtk/gtkentrycompletion.h
@@ -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);