[libdazzle] dock-paned: remove dead code
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] dock-paned: remove dead code
- Date: Sun, 21 Jan 2018 05:24:21 +0000 (UTC)
commit 8743a3ca28ced7487468d1a3a7e4a5b1db176297
Author: Christian Hergert <chergert redhat com>
Date: Sat Jan 20 20:40:55 2018 -0800
dock-paned: remove dead code
src/panel/dzl-dock-paned.c | 30 ------------------------------
1 file changed, 30 deletions(-)
---
diff --git a/src/panel/dzl-dock-paned.c b/src/panel/dzl-dock-paned.c
index 2621df2..bf5a8fd 100644
--- a/src/panel/dzl-dock-paned.c
+++ b/src/panel/dzl-dock-paned.c
@@ -48,42 +48,12 @@ dzl_dock_paned_add (GtkContainer *container,
dzl_dock_item_adopt (DZL_DOCK_ITEM (self), DZL_DOCK_ITEM (widget));
}
-static void
-dzl_dock_paned_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec)
-{
- switch (prop_id)
- {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- }
-}
-
-static void
-dzl_dock_paned_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- switch (prop_id)
- {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- }
-}
-
static void
dzl_dock_paned_class_init (DzlDockPanedClass *klass)
{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
GtkContainerClass *container_class = GTK_CONTAINER_CLASS (klass);
- object_class->get_property = dzl_dock_paned_get_property;
- object_class->set_property = dzl_dock_paned_set_property;
-
container_class->add = dzl_dock_paned_add;
gtk_widget_class_set_css_name (widget_class, "dzldockpaned");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]