diff options
author | 2011-10-08 13:30:01 +0200 | |
---|---|---|
committer | 2011-10-08 13:30:01 +0200 | |
commit | cb1c025f945fe46dab39b70712cbe4378ae24970 (patch) | |
tree | 05d617aa620119d6c424abd23fd2c0da3ab54ed5 /plugins/gtkui/eq.c | |
parent | 1f411a09c45a3dec70162b916688a8d7e6c16b75 (diff) |
port to GTK3 (WIP)
Diffstat (limited to 'plugins/gtkui/eq.c')
-rw-r--r-- | plugins/gtkui/eq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/gtkui/eq.c b/plugins/gtkui/eq.c index f2012bba..c534dfb6 100644 --- a/plugins/gtkui/eq.c +++ b/plugins/gtkui/eq.c @@ -97,7 +97,7 @@ on_zero_all_clicked (GtkButton *button, // set dsp set_param (eq, i+1, 0); } - gdk_window_invalidate_rect (eqwin->window, NULL, FALSE); + gtk_widget_queue_draw (eqwin); } } } @@ -110,7 +110,7 @@ on_zero_preamp_clicked (GtkButton *button, if (eq) { set_param (eq, 0, 0); ddb_equalizer_set_preamp (DDB_EQUALIZER (eqwin), 0); - gdk_window_invalidate_rect (eqwin->window, NULL, FALSE); + gtk_widget_queue_draw (eqwin); } } } @@ -125,7 +125,7 @@ on_zero_bands_clicked (GtkButton *button, ddb_equalizer_set_band (DDB_EQUALIZER (eqwin), i, 0); set_param (eq, i+1, 0); } - gdk_window_invalidate_rect (eqwin->window, NULL, FALSE); + gtk_widget_queue_draw (eqwin); } } } @@ -227,7 +227,7 @@ on_load_preset_clicked (GtkMenuItem *menuitem, ddb_equalizer_set_band (DDB_EQUALIZER (eqwin), i, vals[i]); set_param (eq, i+1, vals[i]); } - gdk_window_invalidate_rect (eqwin->window, NULL, FALSE); + gtk_widget_queue_draw (eqwin); deadbeef->conf_save (); } } @@ -293,7 +293,7 @@ on_import_fb2k_preset_clicked (GtkButton *button, ddb_equalizer_set_band (DDB_EQUALIZER (eqwin), i, vals[i]); set_param (eq, i+1, vals[i]); } - gdk_window_invalidate_rect (eqwin->window, NULL, FALSE); + gtk_widget_queue_draw (eqwin); deadbeef->conf_save (); } } |