Sha256: 78d6e23ef0fdecff7a2d9f663d96ad9e062f441864131d71ee319ae2bf67c569
Contents?: true
Size: 817 Bytes
Versions: 6
Compression:
Stored size: 817 Bytes
Contents
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */ /************************************************ rbgtkcellrendererspinner.c - $Author: masaakiaoyagi $ $Date: 2011-02-19 09:24:49 +0900 (土, 19 2月 2011) $ Copyright (C) 2011 Ruby-GNOME2 Project Team ************************************************/ #include "global.h" #if GTK_CHECK_VERSION(2,20,0) #define _SELF(s) (GTK_CELL_RENDERER_SPINNER(RVAL2GOBJ(s))) static VALUE crspinner_initialize(VALUE self) { RBGTK_INITIALIZE(self, gtk_cell_renderer_spinner_new()); return Qnil; } #endif void Init_gtk_cellrendererspinner() { #if GTK_CHECK_VERSION(2,20,0) VALUE renderer = G_DEF_CLASS(GTK_TYPE_CELL_RENDERER_SPINNER, "CellRendererSpinner", mGtk); rb_define_method(renderer, "initialize", crspinner_initialize, 0); #endif }
Version data entries
6 entries across 6 versions & 1 rubygems