diff options
| author | Jabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es> | 2017-12-27 17:05:55 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es> | 2017-12-27 17:05:55 +0000 |
| commit | 76aab6da8d642a2e72c0a8e0f38c6994a6e62b35 (patch) | |
| tree | 047c4f9d208f8cf8b647acec494a2bb7a5d160ec /src/ui/dialog/document-properties.cpp | |
| parent | Merge branch 'master' into powerpencilII (diff) | |
| parent | Stop using deprecated gtk_adjustment_value_changed (diff) | |
| download | inkscape-76aab6da8d642a2e72c0a8e0f38c6994a6e62b35.tar.gz inkscape-76aab6da8d642a2e72c0a8e0f38c6994a6e62b35.zip | |
Merge branch 'master' into powerpencilII
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
| -rw-r--r-- | src/ui/dialog/document-properties.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 3d246f4cb..48e0042b4 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -564,21 +564,33 @@ void DocumentProperties::populate_linked_profiles_box() void DocumentProperties::external_scripts_list_button_release(GdkEventButton* event) { if((event->type == GDK_BUTTON_RELEASE) && (event->button == 3)) { +#if GTKMM_CHECK_VERSION(3,22,0) + _ExternalScriptsContextMenu.popup_at_pointer(reinterpret_cast<GdkEvent *>(event)); +#else _ExternalScriptsContextMenu.popup(event->button, event->time); +#endif } } void DocumentProperties::embedded_scripts_list_button_release(GdkEventButton* event) { if((event->type == GDK_BUTTON_RELEASE) && (event->button == 3)) { +#if GTKMM_CHECK_VERSION(3,22,0) + _EmbeddedScriptsContextMenu.popup_at_pointer(reinterpret_cast<GdkEvent *>(event)); +#else _EmbeddedScriptsContextMenu.popup(event->button, event->time); +#endif } } void DocumentProperties::linked_profiles_list_button_release(GdkEventButton* event) { if((event->type == GDK_BUTTON_RELEASE) && (event->button == 3)) { +#if GTKMM_CHECK_VERSION(3,22,0) + _EmbProfContextMenu.popup_at_pointer(reinterpret_cast<GdkEvent *>(event)); +#else _EmbProfContextMenu.popup(event->button, event->time); +#endif } } |
