summaryrefslogtreecommitdiff
path: root/src/streamwidget.cc
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@gmail.com>2019-12-28 12:39:38 -0300
committerTanu Kaskinen <tanuk@iki.fi>2020-10-11 17:18:59 +0300
commit284082551938b65e71d06bda793fedbd4a4f41ab (patch)
tree25437bf804dc95212d586ee90f92bf7b50dc78ae /src/streamwidget.cc
parentb10f0d96231826ce2f91ddc2971418161f909e4f (diff)
Migrate away from deprecated Gtk interfaces
This was accomplished by building with -DGTKMM_DISABLE_DEPRECATED.
Diffstat (limited to 'src/streamwidget.cc')
-rw-r--r--src/streamwidget.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/streamwidget.cc b/src/streamwidget.cc
index 00df09f..d203b20 100644
--- a/src/streamwidget.cc
+++ b/src/streamwidget.cc
@@ -66,7 +66,7 @@ void StreamWidget::init(MainWindow* mainWindow) {
bool StreamWidget::onContextTriggerEvent(GdkEventButton* event) {
if (GDK_BUTTON_PRESS == event->type && 3 == event->button) {
- contextMenu.popup(event->button, event->time);
+ contextMenu.popup_at_pointer((GdkEvent*)event);
return true;
}
return false;