X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkaccelmap.h;h=8612f18017a92b042aae82f1c0a16492a369f825;hb=a41b73fbc71f613e4ca90ae8b9dd3bd317d026d6;hp=f69ec89ca97c4b14a50ad7f812b14a38bb40500e;hpb=4491bdbb9d6c74f8cf31e892d8ee6d0728685e85;p=~andy%2Fgtk
diff --git a/gtk/gtkaccelmap.h b/gtk/gtkaccelmap.h
index f69ec89ca..8612f1801 100644
--- a/gtk/gtkaccelmap.h
+++ b/gtk/gtkaccelmap.h
@@ -12,19 +12,17 @@
* 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., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see .
*/
-#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
-#error "Only can be included directly."
-#endif
-
#ifndef __GTK_ACCEL_MAP_H__
#define __GTK_ACCEL_MAP_H__
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only can be included directly."
+#endif
+
#include
G_BEGIN_DECLS
@@ -41,6 +39,16 @@ typedef struct _GtkAccelMap GtkAccelMap;
typedef struct _GtkAccelMapClass GtkAccelMapClass;
/* --- notifier --- */
+/**
+ * GtkAccelMapForeach:
+ * @data: User data passed to gtk_accel_map_foreach() or
+ * gtk_accel_map_foreach_unfiltered()
+ * @accel_path: Accel path of the current accelerator
+ * @accel_key: Key of the current accelerator
+ * @accel_mods: Modifiers of the current accelerator
+ * @changed: Changed flag of the accelerator (if %TRUE, accelerator has changed
+ * during runtime and would need to be saved during an accelerator dump)
+ */
typedef void (*GtkAccelMapForeach) (gpointer data,
const gchar *accel_path,
guint accel_key,
@@ -80,16 +88,6 @@ GType gtk_accel_map_get_type (void) G_GNUC_CONST;
GtkAccelMap *gtk_accel_map_get (void);
-/* --- internal API --- */
-void _gtk_accel_map_init (void);
-
-void _gtk_accel_map_add_group (const gchar *accel_path,
- GtkAccelGroup *accel_group);
-void _gtk_accel_map_remove_group (const gchar *accel_path,
- GtkAccelGroup *accel_group);
-gboolean _gtk_accel_path_is_valid (const gchar *accel_path);
-
-
G_END_DECLS
#endif /* __GTK_ACCEL_MAP_H__ */