[Xfce4-commits] <libxfce4ui:jeromeg/keyboard-shortcuts-rework> Remove gobject boilerplate.

Jérôme Guelfucci noreply at xfce.org
Sun May 29 17:50:01 CEST 2011


Updating branch refs/heads/jeromeg/keyboard-shortcuts-rework
         to 310a4d7d9d3834e7ee074359973f52cc1e186502 (commit)
       from a0fb8ffefa37d61e7f4724b5b422276902f4445b (commit)

commit 310a4d7d9d3834e7ee074359973f52cc1e186502
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Sun May 29 16:40:39 2011 +0200

    Remove gobject boilerplate.

 libxfce4kbd-private/xfce-shortcuts-grabber.c |   58 --------------------------
 1 files changed, 0 insertions(+), 58 deletions(-)

diff --git a/libxfce4kbd-private/xfce-shortcuts-grabber.c b/libxfce4kbd-private/xfce-shortcuts-grabber.c
index a6d3a0d..642ecc0 100644
--- a/libxfce4kbd-private/xfce-shortcuts-grabber.c
+++ b/libxfce4kbd-private/xfce-shortcuts-grabber.c
@@ -60,14 +60,6 @@
 
 
 
-/* Property identifiers */
-enum
-{
-  PROP_0,
-};
-
-
-
 /* Cache indices for modifiers */
 enum
 {
@@ -88,14 +80,6 @@ typedef struct _XfceKey XfceKey;
 
 static void            xfce_shortcuts_grabber_constructed      (GObject                   *object);
 static void            xfce_shortcuts_grabber_finalize         (GObject                   *object);
-static void            xfce_shortcuts_grabber_get_property     (GObject                   *object,
-                                                                guint                      prop_id,
-                                                                GValue                    *value,
-                                                                GParamSpec                *pspec);
-static void            xfce_shortcuts_grabber_set_property     (GObject                   *object,
-                                                                guint                      prop_id,
-                                                                const GValue              *value,
-                                                                GParamSpec                *pspec);
 static void            xfce_shortcuts_grabber_keys_changed     (GdkKeymap                 *keymap,
                                                                 XfceShortcutsGrabber      *grabber);
 static void            xfce_shortcuts_grabber_grab_all         (XfceShortcutsGrabber      *grabber);
@@ -143,8 +127,6 @@ xfce_shortcuts_grabber_class_init (XfceShortcutsGrabberClass *klass)
   gobject_class = G_OBJECT_CLASS (klass);
   gobject_class->constructed = xfce_shortcuts_grabber_constructed;
   gobject_class->finalize = xfce_shortcuts_grabber_finalize;
-  gobject_class->get_property = xfce_shortcuts_grabber_get_property;
-  gobject_class->set_property = xfce_shortcuts_grabber_set_property;
 
   g_signal_new ("shortcut-activated",
                 XFCE_TYPE_SHORTCUTS_GRABBER,
@@ -215,46 +197,6 @@ xfce_shortcuts_grabber_finalize (GObject *object)
 
 
 static void
-xfce_shortcuts_grabber_get_property (GObject    *object,
-                                     guint       prop_id,
-                                     GValue     *value,
-                                     GParamSpec *pspec)
-{
-#if 0
-  XfceShortcutsGrabber *grabber = XFCE_SHORTCUTS_GRABBER (object);
-#endif
-
-  switch (prop_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-      break;
-    }
-}
-
-
-
-static void
-xfce_shortcuts_grabber_set_property (GObject      *object,
-                                     guint         prop_id,
-                                     const GValue *value,
-                                     GParamSpec   *pspec)
-{
-#if 0
-  XfceShortcutsGrabber *grabber = XFCE_SHORTCUTS_GRABBER (object);
-#endif
-
-  switch (prop_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-      break;
-    }
-}
-
-
-
-static void
 xfce_shortcuts_grabber_keys_changed (GdkKeymap            *keymap,
                                      XfceShortcutsGrabber *grabber)
 {



More information about the Xfce4-commits mailing list