<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Fix warnings and cleanup unused defs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103050#c67">Comment # 67</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Fix warnings and cleanup unused defs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103050">bug 103050</a>
              from <span class="vcard"><a class="email" href="mailto:carlosgc@gnome.org" title="Carlos Garcia Campos <carlosgc@gnome.org>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to Adrian Johnson from <a href="show_bug.cgi?id=103050#c66">comment #66</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=134985" name="attach_134985" title="glib demo: correct the previous warnings fix">attachment 134985</a> <a href="attachment.cgi?id=134985&action=edit" title="glib demo: correct the previous warnings fix">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=103050&attachment=134985'>[review]</a> [review]
> glib demo: correct the previous warnings fix

> Does this look good?</span >

Yes.

<span class="quote">> Also, do you have any idea how to fix this warning?

> ../glib/demo/selections.c: In function ‘pgd_selections_drawing_area_realize’:
> ../glib/demo/selections.c:340:9: warning:
> ‘gtk_style_context_get_background_color’ is deprecated: Use
> 'gtk_render_background' instead [-Wdeprecated-declarations]</span >

You can probably do:

GdkRGBA *rgba;

gtk_style_context_get (context, GTK_STATE_FLAG_SELECTED, "background-color",
&rgba, NULL);
.....
gdk_rgba_free (rgba);</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>