title: How to draw a GdkPixbuf using GTK3 and PyGObject
body: <p>I have a small application that uses a <code>DrawingArea</code> to draw a simple map using <code>PyGObject</code> and <code>GTK3</code>.</p>
  
  <p>I load a <code>Pixbuf</code> using</p>
  
  <pre><code>from gi.repository import Gtk, GdkPixbuf
  pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("logo.png", 25, 25)
  </code></pre>
  
  <p>and then try to draw it in the <code>DrawingArea</code>'s draw event signal</p>
  
  <pre><code>def draw(self, widget, context):
      window = widget.get_window()
      ctx = window.cairo_create()
      ctx.set_source_pixbuf(pixbuf, 0, 0)
  </code></pre>
  
  <p>but I get the error message </p>
  
  <pre><code>"AttributeError: 'cairo.Context' object has no attribute 'set_source_pixbuf'"
  </code></pre>
  
  <p>If I'm reading the <a href="http://developer.gnome.org/gtk3/3.3/gtk-migrating-2-to-3.html#id1280341" rel="noreferrer">Gtk2 to Gtk3 migration guide</a> correctly, this should work.
  What am I doing wrong?</p>