X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkswitch.h;h=1f7ed4c0df35d371212a788c504c28a8d5bf2560;hb=d97861bd8b338c3d25d7ffb5496edee9eee9bfbb;hp=3706f618b5f25f0b46fe4776e70f1dd3b729d6f1;hpb=b9859de917bfff02e16b64f033f2afc703791c82;p=~andy%2Fgtk diff --git a/gtk/gtkswitch.h b/gtk/gtkswitch.h index 3706f618b..1f7ed4c0d 100644 --- a/gtk/gtkswitch.h +++ b/gtk/gtkswitch.h @@ -14,9 +14,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . * * Author: * Emmanuele Bassi @@ -25,13 +23,13 @@ * Based on similar code from Mx. */ +#ifndef __GTK_SWITCH_H__ +#define __GTK_SWITCH_H__ + #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." #endif -#ifndef __GTK_SWITCH_H__ -#define __GTK_SWITCH_H__ - #include G_BEGIN_DECLS @@ -72,13 +70,14 @@ struct _GtkSwitchClass /*< private >*/ GtkWidgetClass parent_class; + void (* activate) (GtkSwitch *sw); + void (* _switch_padding_1) (void); void (* _switch_padding_2) (void); void (* _switch_padding_3) (void); void (* _switch_padding_4) (void); void (* _switch_padding_5) (void); void (* _switch_padding_6) (void); - void (* _switch_padding_7) (void); }; GType gtk_switch_get_type (void) G_GNUC_CONST;