Commit 23a7e9c9 authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa

Export functionality.

Mon Mar  9 23:24:42 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
	functionality.
parent 0db25493
Mon Mar 9 23:24:42 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
functionality.
Tue Mar 10 05:42:34 1998 Tim Janik <timj@gimp.org>
* configure.in: Bumped version number to 0.99.5.
......
Mon Mar 9 23:24:42 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
functionality.
Tue Mar 10 05:42:34 1998 Tim Janik <timj@gimp.org>
* configure.in: Bumped version number to 0.99.5.
......
Mon Mar 9 23:24:42 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
functionality.
Tue Mar 10 05:42:34 1998 Tim Janik <timj@gimp.org>
* configure.in: Bumped version number to 0.99.5.
......
Mon Mar 9 23:24:42 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
functionality.
Tue Mar 10 05:42:34 1998 Tim Janik <timj@gimp.org>
* configure.in: Bumped version number to 0.99.5.
......
Mon Mar 9 23:24:42 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
functionality.
Tue Mar 10 05:42:34 1998 Tim Janik <timj@gimp.org>
* configure.in: Bumped version number to 0.99.5.
......
Mon Mar 9 23:24:42 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
functionality.
Tue Mar 10 05:42:34 1998 Tim Janik <timj@gimp.org>
* configure.in: Bumped version number to 0.99.5.
......
Mon Mar 9 23:24:42 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
functionality.
Tue Mar 10 05:42:34 1998 Tim Janik <timj@gimp.org>
* configure.in: Bumped version number to 0.99.5.
......
......@@ -194,12 +194,6 @@ static void real_unselect_row (GtkCList * clist,
gint column,
GdkEventButton * event);
static gint get_selection_info (GtkCList * clist,
gint x,
gint y,
gint * row,
gint * column);
/* Resize Columns */
static void draw_xor_line (GtkCList * clist);
static gint new_column_width (GtkCList * clist,
......@@ -2340,6 +2334,15 @@ gtk_clist_size_allocate (GtkWidget * widget,
adjust_scrollbars (clist);
}
gint
gtk_clist_row_from_ypixel (GtkCList *clist, gint y)
{
g_return_val_if_fail (GTK_IS_CLIST (clist), 0);
g_return_val_if_fail (y >= 0, 0);
return ROW_FROM_YPIXEL (clist, y);
}
/*
* GTKCONTAINER
* gtk_clist_foreach
......@@ -3075,6 +3078,14 @@ get_selection_info (GtkCList * clist,
return 1;
}
gint
gtk_clist_get_selection_info (GtkCList *clist, gint x, gint y, gint *row, gint *column)
{
g_return_val_if_fail (clist != NULL, 0);
g_return_val_if_fail (GTK_IS_CLIST (clist), 0);
return get_selection_info (clist, x, y, row, column);
}
/*
* RESIZE COLUMNS
* draw_xor_line
......
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