Move GdkKeymapClass definition to internal header

This lets us change this without affecting apps.
This commit is contained in:
Alexander Larsson 2010-12-06 12:40:41 +01:00 committed by Matthias Clasen
parent 5fda1669ea
commit 4ad948ec4a
3 changed files with 10 additions and 9 deletions

View File

@ -311,6 +311,15 @@ struct _GdkDisplayClass
gboolean is_error); gboolean is_error);
}; };
struct _GdkKeymapClass
{
GObjectClass parent_class;
void (*direction_changed) (GdkKeymap *keymap);
void (*keys_changed) (GdkKeymap *keymap);
void (*state_changed) (GdkKeymap *keymap);
};
extern GSList *_gdk_displays; extern GSList *_gdk_displays;
extern gchar *_gdk_display_name; extern gchar *_gdk_display_name;
extern gint _gdk_screen_number; extern gint _gdk_screen_number;

View File

@ -26,6 +26,7 @@
#include "config.h" #include "config.h"
#include "gdkinternals.h"
#include "gdkkeys.h" #include "gdkkeys.h"
#include "gdkdisplay.h" #include "gdkdisplay.h"

View File

@ -89,15 +89,6 @@ struct _GdkKeymap
GdkDisplay *GSEAL (display); GdkDisplay *GSEAL (display);
}; };
struct _GdkKeymapClass
{
GObjectClass parent_class;
void (*direction_changed) (GdkKeymap *keymap);
void (*keys_changed) (GdkKeymap *keymap);
void (*state_changed) (GdkKeymap *keymap);
};
GType gdk_keymap_get_type (void) G_GNUC_CONST; GType gdk_keymap_get_type (void) G_GNUC_CONST;
#ifndef GDK_MULTIHEAD_SAFE #ifndef GDK_MULTIHEAD_SAFE