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.
This commit is contained in:
Miguel de Icaza 1998-03-10 05:25:15 +00:00 committed by Arturo Espinosa
parent 0db2549361
commit 23a7e9c93e
8 changed files with 52 additions and 6 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -1,3 +1,8 @@
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.

View File

@ -1,3 +1,8 @@
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.

View File

@ -1,3 +1,8 @@
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.

View File

@ -1,3 +1,8 @@
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.

View File

@ -1,3 +1,8 @@
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.

View File

@ -1,3 +1,8 @@
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.

View File

@ -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