Commit d9582bd3 authored by Jonathan Blandford's avatar Jonathan Blandford Committed by Jonathan Blandford

Fix a stupid typo. (gtk_list_store_set_cell): Fix a stupid typo.

Sat Mar 10 12:15:31 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo.
	(gtk_list_store_set_cell): Fix a stupid typo.
parent 351052e1
Sat Mar 10 12:15:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo.
(gtk_list_store_set_cell): Fix a stupid typo.
Fri Mar 9 20:36:21 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c (gtk_tree_selection_select_all): Make
......
Sat Mar 10 12:15:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo.
(gtk_list_store_set_cell): Fix a stupid typo.
Fri Mar 9 20:36:21 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c (gtk_tree_selection_select_all): Make
......
Sat Mar 10 12:15:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo.
(gtk_list_store_set_cell): Fix a stupid typo.
Fri Mar 9 20:36:21 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c (gtk_tree_selection_select_all): Make
......
Sat Mar 10 12:15:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo.
(gtk_list_store_set_cell): Fix a stupid typo.
Fri Mar 9 20:36:21 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c (gtk_tree_selection_select_all): Make
......
Sat Mar 10 12:15:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo.
(gtk_list_store_set_cell): Fix a stupid typo.
Fri Mar 9 20:36:21 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c (gtk_tree_selection_select_all): Make
......
Sat Mar 10 12:15:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo.
(gtk_list_store_set_cell): Fix a stupid typo.
Fri Mar 9 20:36:21 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c (gtk_tree_selection_select_all): Make
......
Sat Mar 10 12:15:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo.
(gtk_list_store_set_cell): Fix a stupid typo.
Fri Mar 9 20:36:21 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c (gtk_tree_selection_select_all): Make
......
......@@ -549,15 +549,15 @@ gtk_list_store_set_cell (GtkListStore *list_store,
g_return_if_fail (column >= 0 && column < list_store->n_columns);
g_return_if_fail (value != NULL);
if (! g_type_is_a (G_VALUE_TYPE (value), column->type))
if (! g_type_is_a (G_VALUE_TYPE (value), list_store->column_headers[column]))
{
if (! (g_value_type_compatible (G_VALUE_TYPE (value), column->type) &&
g_value_type_compatible (column->type, G_VALUE_TYPE (value))))
if (! (g_value_type_compatible (G_VALUE_TYPE (value), list_store->column_headers[column]) &&
g_value_type_compatible (list_store->column_headers[column], G_VALUE_TYPE (value))))
{
g_warning ("%s: Unable to convert from %s to %s\n",
G_STRLOC,
g_type_name (G_VALUE_TYPE (value)),
g_type_name (column->type));
g_type_name (list_store->column_headers[column]));
return;
}
if (!g_value_transform (value, &real_value))
......@@ -565,7 +565,7 @@ gtk_list_store_set_cell (GtkListStore *list_store,
g_warning ("%s: Unable to make conversion from %s to %s\n",
G_STRLOC,
g_type_name (G_VALUE_TYPE (value)),
g_type_name (column->type));
g_type_name (list_store->column_headers[column]));
g_value_unset (&real_value);
return;
}
......@@ -616,7 +616,7 @@ gtk_list_store_set_cell (GtkListStore *list_store,
path = gtk_list_store_get_path (GTK_TREE_MODEL (list_store), iter);
if (converted)
_gtk_tree_data_list_value_to_node (list, real_value);
_gtk_tree_data_list_value_to_node (list, &real_value);
else
_gtk_tree_data_list_value_to_node (list, value);
gtk_tree_model_changed (GTK_TREE_MODEL (list_store), path, iter);
......
......@@ -565,15 +565,15 @@ gtk_tree_store_set_cell (GtkTreeStore *tree_store,
g_return_if_fail (column >= 0 && column < tree_store->n_columns);
g_return_if_fail (value != NULL);
if (! g_type_is_a (G_VALUE_TYPE (value), column->type))
if (! g_type_is_a (G_VALUE_TYPE (value), tree_store->column_headers[column]))
{
if (! (g_value_type_compatible (G_VALUE_TYPE (value), column->type) &&
g_value_type_compatible (column->type, G_VALUE_TYPE (value))))
if (! (g_value_type_compatible (G_VALUE_TYPE (value), tree_store->column_headers[column]) &&
g_value_type_compatible (tree_store->column_headers[column], G_VALUE_TYPE (value))))
{
g_warning ("%s: Unable to convert from %s to %s\n",
G_STRLOC,
g_type_name (G_VALUE_TYPE (value)),
g_type_name (column->type));
g_type_name (tree_store->column_headers[column]));
return;
}
if (!g_value_transform (value, &real_value))
......@@ -581,7 +581,7 @@ gtk_tree_store_set_cell (GtkTreeStore *tree_store,
g_warning ("%s: Unable to make conversion from %s to %s\n",
G_STRLOC,
g_type_name (G_VALUE_TYPE (value)),
g_type_name (column->type));
g_type_name (tree_store->column_headers[column]));
g_value_unset (&real_value);
return;
}
......@@ -631,7 +631,7 @@ gtk_tree_store_set_cell (GtkTreeStore *tree_store,
column --;
}
if (converted)
_gtk_tree_data_list_value_to_node (list, real_value);
_gtk_tree_data_list_value_to_node (list, &real_value);
else
_gtk_tree_data_list_value_to_node (list, value);
gtk_tree_model_changed (GTK_TREE_MODEL (tree_store), path, iter);
......
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