Remove using namespace Gtk; from headers
This causes issues if the header is included early on in particular a conflict with gdkx.h The reference to ‘Window’ is ambiguous `Gtk::Window` vs [X11]Window.
This commit is contained in:
@@ -26,8 +26,6 @@
|
||||
|
||||
#include "gtkmm2ext/visibility.h"
|
||||
|
||||
using namespace Gtk;
|
||||
|
||||
namespace Gtk {
|
||||
class ColorSelectionDialog;
|
||||
}
|
||||
|
||||
@@ -30,8 +30,6 @@
|
||||
|
||||
#include "gtkmm2ext/visibility.h"
|
||||
|
||||
using namespace Gtk;
|
||||
|
||||
namespace Gtkmm2ext {
|
||||
|
||||
class LIBGTKMM2EXT_API CellRendererPixbufMulti : public Gtk::CellRenderer
|
||||
|
||||
@@ -27,8 +27,6 @@
|
||||
|
||||
#include "gtkmm2ext/visibility.h"
|
||||
|
||||
using namespace Gtk;
|
||||
|
||||
namespace Gtkmm2ext {
|
||||
|
||||
class LIBGTKMM2EXT_API CellRendererPixbufToggle : public Gtk::CellRenderer
|
||||
|
||||
Reference in New Issue
Block a user