X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fgui_thread.h;h=76295a499f68c7941cc0a26cca846b4c8e3f1b94;hb=af2ee3c8564c7d60cadb130b8c7ad1f4cddd2216;hp=7b09007d808d1342c3b836d54aa778cfe578ba3d;hpb=209d967b1bb80a9735d690d8f4f0455ecb9970ca;p=ardour.git diff --git a/gtk2_ardour/gui_thread.h b/gtk2_ardour/gui_thread.h index 7b09007d80..76295a499f 100644 --- a/gtk2_ardour/gui_thread.h +++ b/gtk2_ardour/gui_thread.h @@ -1,10 +1,20 @@ -#ifndef __ardour_gtk_gui_thread_h__ -#define __ardour_gtk_gui_thread_h__ +/* + Copyright (C) 2012 Paul Davis -#define ENSURE_GUI_THREAD(slot) \ - if (!Gtkmmext::UI::instance()->caller_is_gui_thread()) {\ - Gtkmmext::UI::instance()->call_slot ((slot));\ - return;\ - } + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. -#endif /* __ardour_gtk_gui_thread_h__ */ + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include "gtkmm2ext/gui_thread.h"