1 |
/* |
/* |
2 |
Copyright (c) 2014-2018 Christian Schoenebeck |
Copyright (c) 2014-2019 Christian Schoenebeck |
3 |
|
|
4 |
This file is part of "gigedit" and released under the terms of the |
This file is part of "gigedit" and released under the terms of the |
5 |
GNU General Public License version 2. |
GNU General Public License version 2. |
941 |
} |
} |
942 |
|
|
943 |
m_buttonBox.set_layout(Gtk::BUTTONBOX_END); |
m_buttonBox.set_layout(Gtk::BUTTONBOX_END); |
944 |
#if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 22) |
#if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 24) |
945 |
m_buttonBox.set_margin(5); |
m_buttonBox.set_margin(5); |
946 |
#else |
#else |
947 |
m_buttonBox.set_border_width(5); |
m_buttonBox.set_border_width(5); |
1028 |
const Gtk::SelectionData& selection_data, guint, guint time) |
const Gtk::SelectionData& selection_data, guint, guint time) |
1029 |
{ |
{ |
1030 |
printf("Drag data received\n"); |
printf("Drag data received\n"); |
|
if (&selection_data == NULL) { |
|
|
printf("!selection_data\n"); |
|
|
return; |
|
|
} |
|
1031 |
if (!selection_data.get_data()) { |
if (!selection_data.get_data()) { |
1032 |
printf("selection_data.get_data() == NULL\n"); |
printf("selection_data.get_data() == NULL\n"); |
1033 |
return; |
return; |
1038 |
printf("!src\n"); |
printf("!src\n"); |
1039 |
return; |
return; |
1040 |
} |
} |
1041 |
printf("src=%d\n", src); |
printf("src=%ld\n", (size_t)src); |
1042 |
|
|
1043 |
gig::Instrument* dst = NULL; |
gig::Instrument* dst = NULL; |
1044 |
{ |
{ |