Sha256: 72cf0e034c1f5e40844713cf64dcae058ba01278a7af9fb93483d080a037d889
Contents?: true
Size: 834 Bytes
Versions: 12
Compression:
Stored size: 834 Bytes
Contents
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */ /************************************************ rbgtkvolumebutton.c - $Author: ggc $ $Date: 2007/07/03 15:17:10 $ Copyright (C) 2002,2003 Ruby-GNOME2 Project Team Copyright (C) 1998-2000 Yukihiro Matsumoto, Daisuke Kanda, Hiroshi Igarashi ************************************************/ #include "global.h" #if GTK_CHECK_VERSION(2,12,0) static VALUE volumebutton_initialize(VALUE self) { RBGTK_INITIALIZE(self, gtk_volume_button_new()); return Qnil; } #endif void Init_gtk_volumebutton() { #if GTK_CHECK_VERSION(2,12,0) VALUE gVolumeButton = G_DEF_CLASS(GTK_TYPE_VOLUME_BUTTON, "VolumeButton", mGtk); rb_define_method(gVolumeButton, "initialize", volumebutton_initialize, 0); #endif }
Version data entries
12 entries across 12 versions & 1 rubygems