diff options
author | neoraider <devnull@localhost> | 2008-04-14 11:19:00 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-14 11:19:00 +0200 |
commit | 9c24bd0bb259124e36367c9c8a62af7b19ba8e67 (patch) | |
tree | fe3274185ef36bfd64e0c73ec364602109ba3a98 /src/Gui | |
parent | 55af49b48328d4828fe8520d7d7aa0bc776afeb0 (diff) | |
download | zoomedit-9c24bd0bb259124e36367c9c8a62af7b19ba8e67.tar zoomedit-9c24bd0bb259124e36367c9c8a62af7b19ba8e67.zip |
zoomedit:
* Use 0 instead of NULL consistantly
Diffstat (limited to 'src/Gui')
-rw-r--r-- | src/Gui/RenderArea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Gui/RenderArea.cpp b/src/Gui/RenderArea.cpp index 576b1f7..39e1e45 100644 --- a/src/Gui/RenderArea.cpp +++ b/src/Gui/RenderArea.cpp @@ -28,7 +28,7 @@ namespace ZoomEdit { namespace Gui { -GdkGLConfig *RenderArea::glconfig = NULL; +GdkGLConfig *RenderArea::glconfig = 0; RenderArea::RenderArea(BaseObjectType *cobject, const Glib::RefPtr<Gnome::Glade::Xml> &xml) : Gtk::DrawingArea(cobject), xCenter(0), yCenter(0), zoomLevel(0), scale(100) { @@ -63,7 +63,7 @@ RenderArea::RenderArea(BaseObjectType *cobject, const Glib::RefPtr<Gnome::Glade: if(vScrollbar) vScrollbar->signal_value_changed().connect(sigc::mem_fun(this, &RenderArea::updateScrolling)); - gtk_widget_set_gl_capability(GTK_WIDGET(cobject), glconfig, NULL, TRUE, GDK_GL_RGBA_TYPE); + gtk_widget_set_gl_capability(GTK_WIDGET(cobject), glconfig, 0, TRUE, GDK_GL_RGBA_TYPE); } void RenderArea::onRealize() { |