summaryrefslogtreecommitdiff
path: root/gtk/gtkclist.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-02-08 19:39:26 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-02-08 19:39:26 +0000
commitac447dc59b351cc2e3e7960b00ed73b72050f7a2 (patch)
treeff8552b9051cc69931d202804334b610e799105f /gtk/gtkclist.c
parent6ec06edbbfeed89767a720694ca7e7a091e18e66 (diff)
downloadgtk+-ac447dc59b351cc2e3e7960b00ed73b72050f7a2.tar.gz
Return FALSE if not shoing the titles. (#70959, Thomas Leonard)
Fri Feb 8 14:30:14 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkclist.c (title_focus_in): Return FALSE if not shoing the titles. (#70959, Thomas Leonard)
Diffstat (limited to 'gtk/gtkclist.c')
-rw-r--r--gtk/gtkclist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c
index 1e73ed5b63..f831d153b5 100644
--- a/gtk/gtkclist.c
+++ b/gtk/gtkclist.c
@@ -6614,6 +6614,9 @@ title_focus_in (GtkCList *clist, gint dir)
gint i;
gint left, right;
+ if (!GTK_CLIST_SHOW_TITLES (clist))
+ return FALSE;
+
/* Check last focused column */
if (clist->focus_header_column != -1)
{