~agateau/libdbusmenu/interop-experimental

« back to all changes in this revision

Viewing changes to libdbusmenu-gtk/client.c

  • Committer: Ted Gould
  • Date: 2010-01-24 20:08:51 UTC
  • mfrom: (53.3.7 event-timestamp)
  • Revision ID: ted@gould.cx-20100124200851-j9bm5317og2oj71d
Adding a parameter on the event function so that the timestamp is always passed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
static gboolean
110
110
menu_pressed_cb (GtkMenuItem * gmi, DbusmenuMenuitem * mi)
111
111
{
112
 
        dbusmenu_menuitem_activate(mi);
 
112
        dbusmenu_menuitem_activate(mi, gtk_get_current_event_time());
113
113
        return TRUE;
114
114
}
115
115