~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric-updates

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.GtkCore/libsteticui/Metacity/ObjectManager.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-18 08:40:51 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090218084051-gh8m6ukvokbwj7cf
Tags: 1.9.2+dfsg-1ubuntu1
* Merge from Debian Experimental (LP: #330519), remaining Ubuntu changes:
  + debian/control:
    - Update for Gnome# 2.24
    - Add libmono-cairo1.0-cil to build-deps to fool pkg-config check

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// This file was generated by the Gtk# code generator.
 
2
// Any changes made will be lost if regenerated.
 
3
 
 
4
namespace GtkSharp.MetacitySharp {
 
5
 
 
6
        class ObjectManager {
 
7
 
 
8
                static bool initialized = false;
 
9
                // Call this method from the appropriate module init function.
 
10
                public static void Initialize ()
 
11
                {
 
12
                        if (initialized)
 
13
                                return;
 
14
 
 
15
                        initialized = true;
 
16
                        GLib.GType.Register (Metacity.Preview.GType, typeof (Metacity.Preview));
 
17
                }
 
18
        }
 
19
}