summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1998-03-10 05:25:15 +0000
committerArturo Espinosa <unammx@src.gnome.org>1998-03-10 05:25:15 +0000
commit23a7e9c93ea2ca7ef3b31f4bc2942cfbf60ccd0b (patch)
tree1df91da7a656bc997bc7c4b4c717997c3735e42e
parent0db2549361345c9dd62cbcfbf1f36eaea2a8f020 (diff)
downloadgtk+-23a7e9c93ea2ca7ef3b31f4bc2942cfbf60ccd0b.tar.gz
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.
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-05
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--ChangeLog.pre-2-25
-rw-r--r--ChangeLog.pre-2-45
-rw-r--r--ChangeLog.pre-2-65
-rw-r--r--ChangeLog.pre-2-85
-rw-r--r--gtk/gtkclist.c23
8 files changed, 52 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index c59d59499c..dea5983e6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index c59d59499c..dea5983e6b 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -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.
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index c59d59499c..dea5983e6b 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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.
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index c59d59499c..dea5983e6b 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -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.
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index c59d59499c..dea5983e6b 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -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.
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index c59d59499c..dea5983e6b 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -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.
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index c59d59499c..dea5983e6b 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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.
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c
index 00e40d9a9d..be32f889c1 100644
--- a/gtk/gtkclist.c
+++ b/gtk/gtkclist.c
@@ -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