• Cosimo Cecchi's avatar
    query-editor: fixup event handling code · b6d02614
    Cosimo Cecchi authored
    - We shouldn't try to realize the entry again if it's realized already
    - Since gdk_event_copy() refs the event's GdkWindow, and
      gdk_event_free() unrefs it, we should make sure to unref the original
      window first, and add a reference to the GdkWindow we replace in the
      event, or we will trigger criticals when unrealizing the toplevel.
nautilus-query-editor.c 31.7 KB