[gnome-control-center] Fix assert in gtkcellrenderer in sound output tab.



commit 7dde087d47d7a8d6d1a6680b008ec257e4178838
Author: Alban Browaeys <prahal yahoo com>
Date:   Wed Jan 12 04:52:40 2011 +0100

    Fix assert in gtkcellrenderer in sound output tab.
    
    Gtk:ERROR:gtkcellrenderer.c:1661:gtk_cell_renderer_get_aligned_area: assertion failed:
     (aligned_area->x >= cell_area->x && aligned_area->x < cell_area->x + cell_area->width)
    Was missing the icon cell content for the output tab.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=639280

 panels/sound/gvc-mixer-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/sound/gvc-mixer-dialog.c b/panels/sound/gvc-mixer-dialog.c
index 4bca0dd..8059e88 100644
--- a/panels/sound/gvc-mixer-dialog.c
+++ b/panels/sound/gvc-mixer-dialog.c
@@ -1150,6 +1150,7 @@ add_stream (GvcMixerDialog *dialog,
                                     NAME_COLUMN, gvc_mixer_stream_get_description (stream),
                                     DEVICE_COLUMN, "",
                                     ACTIVE_COLUMN, is_default,
+                                    ICON_COLUMN, icon,
                                     ID_COLUMN, gvc_mixer_stream_get_id (stream),
                                     SPEAKERS_COLUMN, gvc_channel_map_get_mapping (map),
                                     -1);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]