Comment 22 for bug 1759621

Revision history for this message
Marco Trevisan (TreviƱo) (3v1n0) wrote :

Some gdb debugging is

#1 0x00007f3abc9a1bc8 in st_label_set_text (label=0x555b3f768d10, text=0x555b5369d360 "...")
    at ../../gnome-shell/src/st/st-label.c:331
331 ctext = CLUTTER_TEXT (priv->label);
(gdb) list
326
327 g_return_if_fail (ST_IS_LABEL (label));
328 g_return_if_fail (text != NULL);
329
330 priv = label->priv;
331 ctext = CLUTTER_TEXT (priv->label);
332
333 if (clutter_text_get_editable (ctext) ||
334 g_strcmp0 (clutter_text_get_text (ctext), text) != 0)
335 {
(gdb) print label
$1 = (StLabel *) 0x555b3f768d10
(gdb) print *label
$2 = {parent_instance = {parent_instance = {parent_instance = {g_type_instance = {g_class = 0x555b3e5ea510},
        ref_count = 1, qdata = 0x555b3f759800}, flags = 0, private_flags = 0, priv = 0x555b3f7689f0}},
  priv = 0x555b3f7688b0}
(gdb) print *label->priv
$3 = {label = 0x555b3f712210, text_shadow_pipeline = 0x0, shadow_width = -1, shadow_height = -1}
(gdb) print *label->priv->labe
There is no member named labe.
(gdb) print *label->priv->label
$4 = {parent_instance = {g_type_instance = {g_class = 0x7f3abdf80be0
     <wrapped_gobj_dispose_notify(gpointer, GObject*)>}, ref_count = 1102656128, qdata = 0x30}, flags = 113,
  private_flags = 0, priv = 0x68733b6572616873}