diff options
author | Benjamin Otte <otte@redhat.com> | 2012-07-09 02:58:22 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-07-09 02:58:22 +0200 |
commit | 58cf6dfaaf3f7c6360881709b2cdf995c6666dc6 (patch) | |
tree | 57f753808a18f7b453afe813de3bc38589493b90 /gtk/gtklockbuttonprivate.h | |
parent | fb1b025cbf5a9b2901bbd9c33af21c083a779f45 (diff) | |
download | gtk+-58cf6dfaaf3f7c6360881709b2cdf995c6666dc6.tar.gz |
a11y: Get lockbutton text directly
Instead of letting the generic button code attempt to find the currently
displayed text, just return the text directly.
https://bugzilla.gnome.org/show_bug.cgi?id=677347
Diffstat (limited to 'gtk/gtklockbuttonprivate.h')
-rw-r--r-- | gtk/gtklockbuttonprivate.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gtk/gtklockbuttonprivate.h b/gtk/gtklockbuttonprivate.h new file mode 100644 index 0000000000..f029bf8b67 --- /dev/null +++ b/gtk/gtklockbuttonprivate.h @@ -0,0 +1,30 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Red Hat, Inc. + * Author: Matthias Clasen + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef __GTK_LOCK_BUTTON_PRIVATE_H__ +#define __GTK_LOCK_BUTTON_PRIVATE_H__ + +#include "gtklockbutton.h" + +G_BEGIN_DECLS + +const char * _gtk_lock_button_get_current_text (GtkLockButton *button); + +G_END_DECLS + +#endif /* __GTK_LOCK_BUTTON_PRIVATE_H__ */ |