keyboard: Replace GObject boilerplace with G_DECLARE_TYPE
This commit is contained in:
parent
ed36688c58
commit
57975633e6
9 changed files with 191 additions and 137 deletions
|
@ -28,7 +28,8 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define CC_TYPE_KEYBOARD_SHORTCUT_EDITOR (cc_keyboard_shortcut_editor_get_type())
|
||||
#define CC_TYPE_KEYBOARD_SHORTCUT_EDITOR (cc_keyboard_shortcut_editor_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (CcKeyboardShortcutEditor, cc_keyboard_shortcut_editor, CC, KEYBOARD_SHORTCUT_EDITOR, GtkDialog)
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
@ -36,8 +37,6 @@ typedef enum
|
|||
CC_SHORTCUT_EDITOR_EDIT
|
||||
} CcShortcutEditorMode;
|
||||
|
||||
G_DECLARE_FINAL_TYPE (CcKeyboardShortcutEditor, cc_keyboard_shortcut_editor, CC, KEYBOARD_SHORTCUT_EDITOR, GtkDialog)
|
||||
|
||||
GtkWidget* cc_keyboard_shortcut_editor_new (CcKeyboardManager *manager);
|
||||
|
||||
CcKeyboardItem* cc_keyboard_shortcut_editor_get_item (CcKeyboardShortcutEditor *self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue