summaryrefslogtreecommitdiffstats
path: root/gtk/src/audiohandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-09 17:00:21 +0000
committerjstebbins <[email protected]>2009-06-09 17:00:21 +0000
commit83b9605f2df83c23a32d2b4a9444a1ddf7d82a8e (patch)
tree0f8f09481da405e00d9ed4bf0f192c7a611f2f0f /gtk/src/audiohandler.c
parent0762ced18168df111984a66c5f48d6ab663104d6 (diff)
LinGui: fix a problem with parameters to a signal that caused segfaults
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2508 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/audiohandler.c')
-rw-r--r--gtk/src/audiohandler.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c
index d1d9f2395..0e15b1962 100644
--- a/gtk/src/audiohandler.c
+++ b/gtk/src/audiohandler.c
@@ -399,15 +399,13 @@ audio_widget_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
}
G_MODULE_EXPORT void
-drc_widget_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
+drc_widget_changed_cb(GtkWidget *widget, gdouble val, signal_user_data_t *ud)
{
GValue *asettings;
- gdouble val;
GtkLabel *label;
gchar *drc;
g_debug("drc_widget_changed_cb ()");
- val = gtk_scale_button_get_value(GTK_SCALE_BUTTON(widget));
if (val > 0.8 && val < 1.0)
gtk_scale_button_set_value(GTK_SCALE_BUTTON(widget), 1.0);
if (val <= 0.8 && val > 0.5)