summaryrefslogtreecommitdiff
path: root/gtk/gtkaccessibleprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-02-17 01:24:43 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-02-17 01:24:43 -0500
commit9d321437b664f6909011c59837739d8bce4863f4 (patch)
treedcd59b69d4b2387eb15d734903d8f8aa81ce43ec /gtk/gtkaccessibleprivate.h
parent4a4004b7067fcde4cdb1423e403dd31d27f3f338 (diff)
downloadgtk+-9d321437b664f6909011c59837739d8bce4863f4.tar.gz
Add a private function for accessible factory registration
This avoids repeating the same code for each widget that has its own accessible implementation inside GTK+.
Diffstat (limited to 'gtk/gtkaccessibleprivate.h')
-rw-r--r--gtk/gtkaccessibleprivate.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/gtk/gtkaccessibleprivate.h b/gtk/gtkaccessibleprivate.h
new file mode 100644
index 0000000000..6bf5a50122
--- /dev/null
+++ b/gtk/gtkaccessibleprivate.h
@@ -0,0 +1,31 @@
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef __GTK_ACCESSIBLE_PRIVATE_H__
+#define __GTK_ACCESSIBLE_PRIVATE_H__
+
+#include "gtkaccessible.h"
+
+G_BEGIN_DECLS
+
+void _gtk_accessible_set_factory_type (GType widget_type,
+ GType factory_type);
+
+G_END_DECLS
+
+#endif /* __GTK_ACCESSIBLE_PRIVATE_H__ */