[med-svn] [aghermann] 17/23: replace some calls of deprecated gtk_menu_popup
andrei zavada
hmmr-guest at moszumanska.debian.org
Wed Jan 4 22:59:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
hmmr-guest pushed a commit to tag 1.1.2
in repository aghermann.
commit d91616f9af9d98da42cd1fee035c1f21372330d4
Author: Andrei Zavada <hmmr at frdg>
Date: Tue Jan 3 05:55:12 2017 +0200
replace some calls of deprecated gtk_menu_popup
---
upstream/src/aghermann/ui/mw/measurements_cb.cc | 3 +--
upstream/src/aghermann/ui/sf/hypnogram_cb.cc | 5 ++---
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/upstream/src/aghermann/ui/mw/measurements_cb.cc b/upstream/src/aghermann/ui/mw/measurements_cb.cc
index 104e05d..0928a38 100644
--- a/upstream/src/aghermann/ui/mw/measurements_cb.cc
+++ b/upstream/src/aghermann/ui/mw/measurements_cb.cc
@@ -122,8 +122,7 @@ daSubjectTimeline_button_press_event_cb(
gtk_widget_set_visible( (GtkWidget*)ED.iSubjectTimelineScore, episode_ops);
gtk_widget_set_visible( (GtkWidget*)ED.iSubjectTimelineDetectUltradianCycle, episode_ops);
gtk_widget_set_visible( (GtkWidget*)ED.iSubjectTimelineEDFInfo, episode_ops);
- gtk_menu_popup( ED.iiSubjectTimeline,
- NULL, NULL, NULL, NULL, 3, event->time);
+ gtk_menu_popup_at_pointer( ED.iiSubjectTimeline, (GdkEvent*)event);
break;
}
diff --git a/upstream/src/aghermann/ui/sf/hypnogram_cb.cc b/upstream/src/aghermann/ui/sf/hypnogram_cb.cc
index df9c443..eab6850 100644
--- a/upstream/src/aghermann/ui/sf/hypnogram_cb.cc
+++ b/upstream/src/aghermann/ui/sf/hypnogram_cb.cc
@@ -54,9 +54,8 @@ daSFHypnogram_button_press_event_cb(
gtk_widget_queue_draw( wid);
break;
case 3:
- gtk_menu_popup(
- SF.iiSFScore,
- NULL, NULL, NULL, NULL, 3, event->time);
+ gtk_menu_popup_at_pointer(
+ SF.iiSFScore, NULL);
break;
}
return TRUE;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git
More information about the debian-med-commit
mailing list