[gtkmm] Remove noise from Object .h/.cc
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Remove noise from Object .h/.cc
- Date: Tue, 28 Sep 2010 08:14:14 +0000 (UTC)
commit 8f06b27a67644de6c0a7f4f8ea151bb258a6a232
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Sep 27 15:16:37 2010 +0200
Remove noise from Object .h/.cc
gtk/gtkmm/object.cc | 12 +-----------
gtk/gtkmm/object.h | 44 ++++++--------------------------------------
2 files changed, 7 insertions(+), 49 deletions(-)
---
diff --git a/gtk/gtkmm/object.cc b/gtk/gtkmm/object.cc
index b733591..600e84e 100644
--- a/gtk/gtkmm/object.cc
+++ b/gtk/gtkmm/object.cc
@@ -1,12 +1,4 @@
-// Generated by gtkmmproc -- DO NOT MODIFY!
-
-
-#include <gtkmm/object.h>
-#include <gtkmm/private/object_p.h>
-
-/* $Id: object.ccg,v 1.8 2005/12/10 11:54:53 murrayc Exp $ */
-
-/* Copyright 1998-2002 The gtkmm Development Team
+/* Copyright 1998-2010 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -396,5 +388,3 @@ GType Object::get_base_type()
} // namespace Gtk
-
-
diff --git a/gtk/gtkmm/object.h b/gtk/gtkmm/object.h
index 3e0ab06..696e0bc 100644
--- a/gtk/gtkmm/object.h
+++ b/gtk/gtkmm/object.h
@@ -1,14 +1,4 @@
-// -*- c++ -*-
-// Generated by gtkmmproc -- DO NOT MODIFY!
-#ifndef _GTKMM_OBJECT_H
-#define _GTKMM_OBJECT_H
-
-
-#include <glibmm.h>
-
-/* $Id: object.hg,v 1.5 2006/04/07 14:11:37 gustin Exp $ */
-
-/* Copyright (C) 1998-2002 The gtkmm Development Team
+/* Copyright (C) 1998-2010 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -25,6 +15,11 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef _GTKMM_OBJECT_H
+#define _GTKMM_OBJECT_H
+
+
+#include <glibmm.h>
#include <glibmm/object.h>
#include <gtkmm/base.h>
#include <gtkmmconfig.h>
@@ -102,34 +97,13 @@ public:
///Provides access to the underlying C GtkObject.
const GObject* gobj() const { return reinterpret_cast<GObject*>(gobject_); }
-
public:
- //C++ methods used to invoke GTK+ virtual functions:
-
-protected:
- //GTK+ Virtual Functions (override these to change behaviour):
-
- //Default Signal Handlers::
-
-
-private:
-
-
-public:
- //void shutdown(); //We probably don't need this.
- //void finalize(); //We probably don't need this.
-
- //void set_user_data(gpointer data);
- //gpointer get_user_data();
-
#ifndef DOXYGEN_SHOULD_SKIP_THIS
/** Used by Gtk::manage(). You should not need to use this directly.
*/
virtual void set_manage();
#endif //DOXYGEN_SHOULD_SKIP_THIS
- //gtkmmproc error: user-data : property defs lookup failed.
-
#ifndef DOXYGEN_SHOULD_SKIP_THIS
/** Private API.
*/
@@ -144,10 +118,6 @@ protected:
void destroy_();
#endif //DOXYGEN_SHOULD_SKIP_THIS
- // If you need it, give me an example. murrayc. -- Me too. daniel.
- //_WRAP_SIGNAL(void destroy(), "destroy")
-
-
#ifndef DOXYGEN_SHOULD_SKIP_THIS
void _init_unmanage(bool is_toplevel = false);
virtual void destroy_notify_(); //override.
@@ -159,8 +129,6 @@ protected:
bool referenced_; // = not managed.
bool gobject_disposed_;
#endif //DOXYGEN_SHOULD_SKIP_THIS
-
-
};
} // namespace Gtk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]