[SCM] calf/master: + LED widget, Keyboard widget: fix warnings

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:38:51 UTC 2013


The following commit has been merged in the master branch:
commit fca4015ddd6bd097041dd4d790ae472fdc388a87
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Mon Jan 19 21:19:13 2009 +0000

    + LED widget, Keyboard widget: fix warnings

diff --git a/src/ctl_keyboard.cpp b/src/ctl_keyboard.cpp
index 3eb8808..86879fb 100644
--- a/src/ctl_keyboard.cpp
+++ b/src/ctl_keyboard.cpp
@@ -128,7 +128,7 @@ static void
 calf_keyboard_size_allocate (GtkWidget *widget,
                            GtkAllocation *allocation)
 {
-    CalfKeyboard *self = CALF_KEYBOARD(widget);
+    // CalfKeyboard *self = CALF_KEYBOARD(widget);
     g_assert(CALF_IS_KEYBOARD(widget));
     widget->allocation = *allocation;
     widget->allocation.width = widget->requisition.width;
diff --git a/src/ctl_led.cpp b/src/ctl_led.cpp
index b3772f5..2577333 100644
--- a/src/ctl_led.cpp
+++ b/src/ctl_led.cpp
@@ -131,7 +131,7 @@ calf_led_class_init (CalfLedClass *klass)
 static void
 calf_led_init (CalfLed *self)
 {
-    GtkWidget *widget = GTK_WIDGET(self);
+    // GtkWidget *widget = GTK_WIDGET(self);
     // GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS);
     self->led_state = FALSE;
 }

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list