Skip to content
  • Benjamin Otte's avatar
    shortcut: Change the API for creating shortcuts · 4a4bfa07
    Benjamin Otte authored and Matthias Clasen's avatar Matthias Clasen committed
    When creating shortcuts, there almost always are a trigger and an action
    available for use. So make gtk_shortcut_new() take those as arguments.
    
    Also add gtk_shortcut_new_with_arguments() so people can easily pass
    those in, too.
    4a4bfa07