summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-10 23:09:54 +0000
committerDavid Robillard <d@drobilla.net>2012-08-10 23:09:54 +0000
commita148ad8bd4eb198c201aa54d12a03c02f246a71c (patch)
treeb249c7b7b3aeb091bddc835bed5d8dd94b048389 /src/port.c
parent0c0751c5d2e050a6d23a79611ab9e8f100e76581 (diff)
downloadganv-a148ad8bd4eb198c201aa54d12a03c02f246a71c.tar.gz
ganv-a148ad8bd4eb198c201aa54d12a03c02f246a71c.tar.bz2
ganv-a148ad8bd4eb198c201aa54d12a03c02f246a71c.zip
Fix a ton of warnings.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4648 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/port.c')
-rw-r--r--src/port.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/port.c b/src/port.c
index 8b234bf..f2594a2 100644
--- a/src/port.c
+++ b/src/port.c
@@ -271,17 +271,17 @@ ganv_port_event(GanvItem* item, GdkEvent* event)
}
static void
-ganv_port_class_init(GanvPortClass* class)
+ganv_port_class_init(GanvPortClass* klass)
{
- GObjectClass* gobject_class = (GObjectClass*)class;
- GtkObjectClass* object_class = (GtkObjectClass*)class;
- GanvItemClass* item_class = (GanvItemClass*)class;
- GanvNodeClass* node_class = (GanvNodeClass*)class;
- GanvBoxClass* box_class = (GanvBoxClass*)class;
+ GObjectClass* gobject_class = (GObjectClass*)klass;
+ GtkObjectClass* object_class = (GtkObjectClass*)klass;
+ GanvItemClass* item_class = (GanvItemClass*)klass;
+ GanvNodeClass* node_class = (GanvNodeClass*)klass;
+ GanvBoxClass* box_class = (GanvBoxClass*)klass;
- parent_class = GANV_BOX_CLASS(g_type_class_peek_parent(class));
+ parent_class = GANV_BOX_CLASS(g_type_class_peek_parent(klass));
- g_type_class_add_private(class, sizeof(GanvPortImpl));
+ g_type_class_add_private(klass, sizeof(GanvPortImpl));
gobject_class->set_property = ganv_port_set_property;
gobject_class->get_property = ganv_port_get_property;
@@ -296,7 +296,7 @@ ganv_port_class_init(GanvPortClass* class)
port_signals[PORT_VALUE_CHANGED]
= g_signal_new("value-changed",
- G_TYPE_FROM_CLASS(class),
+ G_TYPE_FROM_CLASS(klass),
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,