Commit e9c126db authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Underscore-prefix gtk_tree_data_list_compare_func.

2004-08-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreedatalist.[hc]:
	* gtk/gtkliststore.c:
	* gtk/gtktreestore.c: Underscore-prefix gtk_tree_data_list_compare_func.

	* gtk/gtk.symbols: Remove gtk_tree_data_list_compare_func.

	* gtk/makegtkalias.pl: No need to include gtktreedatalist.h any more.
parent 024268b0
2004-08-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreedatalist.[hc]:
* gtk/gtkliststore.c:
* gtk/gtktreestore.c: Underscore-prefix gtk_tree_data_list_compare_func.
* gtk/gtk.symbols: Remove gtk_tree_data_list_compare_func.
* gtk/makegtkalias.pl: No need to include gtktreedatalist.h any more.
2004-08-10 Matthias Clasen <mclasen@redhat.com>
* gdk/Makefile.am:
......
2004-08-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreedatalist.[hc]:
* gtk/gtkliststore.c:
* gtk/gtktreestore.c: Underscore-prefix gtk_tree_data_list_compare_func.
* gtk/gtk.symbols: Remove gtk_tree_data_list_compare_func.
* gtk/makegtkalias.pl: No need to include gtktreedatalist.h any more.
2004-08-10 Matthias Clasen <mclasen@redhat.com>
* gdk/Makefile.am:
......
2004-08-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreedatalist.[hc]:
* gtk/gtkliststore.c:
* gtk/gtktreestore.c: Underscore-prefix gtk_tree_data_list_compare_func.
* gtk/gtk.symbols: Remove gtk_tree_data_list_compare_func.
* gtk/makegtkalias.pl: No need to include gtktreedatalist.h any more.
2004-08-10 Matthias Clasen <mclasen@redhat.com>
* gdk/Makefile.am:
......
2004-08-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreedatalist.[hc]:
* gtk/gtkliststore.c:
* gtk/gtktreestore.c: Underscore-prefix gtk_tree_data_list_compare_func.
* gtk/gtk.symbols: Remove gtk_tree_data_list_compare_func.
* gtk/makegtkalias.pl: No need to include gtktreedatalist.h any more.
2004-08-10 Matthias Clasen <mclasen@redhat.com>
* gdk/Makefile.am:
......
......@@ -2268,7 +2268,6 @@ gtk_tooltips_set_tip
gtk_tree_append
gtk_tree_child_position
gtk_tree_clear_items
gtk_tree_data_list_compare_func
gtk_tree_drag_dest_drag_data_received
gtk_tree_drag_dest_get_type
gtk_tree_drag_dest_row_drop_possible
......
......@@ -845,7 +845,7 @@ gtk_list_store_set_valist (GtkListStore *list_store,
}
}
if (func != gtk_tree_data_list_compare_func)
if (func != _gtk_tree_data_list_compare_func)
maybe_need_sort = TRUE;
while (column != -1)
......@@ -879,7 +879,7 @@ gtk_list_store_set_valist (GtkListStore *list_store,
&value,
FALSE) || emit_signal;
if (func == gtk_tree_data_list_compare_func &&
if (func == _gtk_tree_data_list_compare_func &&
column == list_store->sort_column_id)
maybe_need_sort = TRUE;
......@@ -2183,7 +2183,7 @@ gtk_list_store_sort_iter_changed (GtkListStore *list_store,
}
/* If it's the built in function, we don't sort. */
if (func == gtk_tree_data_list_compare_func &&
if (func == _gtk_tree_data_list_compare_func &&
list_store->sort_column_id != column)
return;
......
......@@ -298,10 +298,10 @@ _gtk_tree_data_list_node_copy (GtkTreeDataList *list,
}
gint
gtk_tree_data_list_compare_func (GtkTreeModel *model,
GtkTreeIter *a,
GtkTreeIter *b,
gpointer user_data)
_gtk_tree_data_list_compare_func (GtkTreeModel *model,
GtkTreeIter *a,
GtkTreeIter *b,
gpointer user_data)
{
gint column = GPOINTER_TO_INT (user_data);
GType type = gtk_tree_model_get_column_type (model, column);
......@@ -460,7 +460,7 @@ _gtk_tree_data_list_header_new (gint n_columns,
retval = g_list_prepend (retval, header);
header->sort_column_id = i;
header->func = gtk_tree_data_list_compare_func;
header->func = _gtk_tree_data_list_compare_func;
header->destroy = NULL;
header->data = GINT_TO_POINTER (i);
}
......
......@@ -67,10 +67,10 @@ GtkTreeDataList *_gtk_tree_data_list_node_copy (GtkTreeDataList *list,
GType type);
/* Header code */
gint gtk_tree_data_list_compare_func (GtkTreeModel *model,
GtkTreeIter *a,
GtkTreeIter *b,
gpointer user_data);
gint _gtk_tree_data_list_compare_func (GtkTreeModel *model,
GtkTreeIter *a,
GtkTreeIter *b,
gpointer user_data);
GList * _gtk_tree_data_list_header_new (gint n_columns,
GType *types);
void _gtk_tree_data_list_header_free (GList *header_list);
......
......@@ -966,7 +966,7 @@ gtk_tree_store_set_valist (GtkTreeStore *tree_store,
}
}
if (func != gtk_tree_data_list_compare_func)
if (func != _gtk_tree_data_list_compare_func)
maybe_need_sort = TRUE;
while (column != -1)
......@@ -999,7 +999,7 @@ gtk_tree_store_set_valist (GtkTreeStore *tree_store,
&value,
FALSE) || emit_signal;
if (func == gtk_tree_data_list_compare_func &&
if (func == _gtk_tree_data_list_compare_func &&
column == tree_store->sort_column_id)
maybe_need_sort = TRUE;
......@@ -2673,7 +2673,7 @@ gtk_tree_store_sort_iter_changed (GtkTreeStore *tree_store,
}
/* If it's the built in function, we don't sort. */
if (func == gtk_tree_data_list_compare_func &&
if (func == _gtk_tree_data_list_compare_func &&
tree_store->sort_column_id != column)
return;
......
......@@ -38,7 +38,6 @@ print <<EOF;
#include "gtktextlayout.h"
#include "gtktextsegment.h"
#include "gtktexttypes.h"
#include "gtktreedatalist.h"
#include "gtkthemes.h"
#include "gtkwindow-decorate.h"
......
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