aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-10-22 11:08:17 -0400
committerConor Curran <conor.curran@canonical.com>2010-10-22 11:08:17 -0400
commit65eeb5213f9c74b33595f085d20b5d14e7b8026b (patch)
treef466059c63702a847d3bd4c68017e81c866343ba /src/transport-widget.c
parent2d40c713f6d5fab70c952e757d0690c7dad63d2d (diff)
downloadayatana-indicator-sound-65eeb5213f9c74b33595f085d20b5d14e7b8026b.tar.gz
ayatana-indicator-sound-65eeb5213f9c74b33595f085d20b5d14e7b8026b.tar.bz2
ayatana-indicator-sound-65eeb5213f9c74b33595f085d20b5d14e7b8026b.zip
push new background work
Diffstat (limited to 'src/transport-widget.c')
-rw-r--r--src/transport-widget.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index 1f023a9..ad044da 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -69,7 +69,6 @@ Uses code from ctk
#define INNER_COMPRESSED_START_SHADE 0.95
#define INNER_COMPRESSED_END_SHADE 1.05
-
typedef struct _TransportWidgetPrivate TransportWidgetPrivate;
struct _TransportWidgetPrivate
@@ -80,14 +79,6 @@ struct _TransportWidgetPrivate
DbusmenuMenuitem* twin_item;
};
-typedef struct
-{
- double r;
- double g;
- double b;
-} CairoColorRGB;
-
-
#define TRANSPORT_WIDGET_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRANSPORT_WIDGET_TYPE, TransportWidgetPrivate))
/* Gobject boiler plate */
@@ -117,7 +108,6 @@ static void transport_widget_menu_hidden ( GtkWidget *menu,
static void transport_widget_notify ( TransportWidget *item,
GParamSpec *pspec,
gpointer user_data );
-
static TransportWidgetEvent transport_widget_determine_button_event ( TransportWidget* button,
GdkEventButton* event);
static void transport_widget_react_to_button_release ( TransportWidget* button,
@@ -743,7 +733,7 @@ _color_hls_to_rgb (gdouble *h,
}
}
-static void
+void
_color_shade (const CairoColorRGB *a, float k, CairoColorRGB *b)
{
double red;