Update FSF address
[lttv.git] / lttv / modules / gui / lttvwindow / lttvwindow / lttv_plugin.c
index f7b4ded4f6c6b39deaf54d4cc21f748d52a0dc19..b6db709575fa5e12ac157fad05a0510d0f3abd93 100644 (file)
@@ -12,8 +12,8 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, 
- * MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA 02110-1301, USA.
  */
 
 
@@ -32,9 +32,9 @@ lttv_plugin_class_init (LttvPluginClass *klass)
 }
 
 static void
-lttv_plugin_instance_init (GTypeInstance *instance, gpointer g_class)
+lttv_plugin_init (GTypeInstance *instance, gpointer g_class)
 {
-  LttvPlugin *self;
+  LttvPlugin *self = LTTV_PLUGIN (instance);
   self->top_widget = NULL;
 }
 
@@ -47,12 +47,12 @@ lttv_plugin_get_type (void)
       sizeof (LttvPluginClass),
       NULL,   /* base_init */
       NULL,   /* base_finalize */
-      lttv_plugin_class_init,   /* class_init */
+      (GClassInitFunc) lttv_plugin_class_init,   /* class_init */
       NULL,   /* class_finalize */
       NULL,   /* class_data */
       sizeof (LttvPlugin),
       0,      /* n_preallocs */
-      NULL    /* instance_init */
+      lttv_plugin_init    /* instance_init */
       };
       type = g_type_register_static (G_TYPE_OBJECT,
                                      "LttvPluginType",
This page took 0.024797 seconds and 4 git commands to generate.