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:
Robin Gareus 2022-01-26 21:57:26 +01:00
parent 1da131db41
commit 036ad841bf
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 0 additions and 6 deletions

View File

@ -26,8 +26,6 @@
#include "gtkmm2ext/visibility.h"
using namespace Gtk;
namespace Gtk {
class ColorSelectionDialog;
}

View File

@ -30,8 +30,6 @@
#include "gtkmm2ext/visibility.h"
using namespace Gtk;
namespace Gtkmm2ext {
class LIBGTKMM2EXT_API CellRendererPixbufMulti : public Gtk::CellRenderer

View File

@ -27,8 +27,6 @@
#include "gtkmm2ext/visibility.h"
using namespace Gtk;
namespace Gtkmm2ext {
class LIBGTKMM2EXT_API CellRendererPixbufToggle : public Gtk::CellRenderer