]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkswitch.h
Minor doc cleanup
[~andy/gtk] / gtk / gtkswitch.h
index 0e17be25e338ccfc6147999cb9362af91225e85b..1f7ed4c0df35d371212a788c504c28a8d5bf2560 100644 (file)
  * 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 <http://www.gnu.org/licenses/>.
  *
  * Author:
  *      Emmanuele Bassi <ebassi@linux.intel.com>
  *      Matthias Clasen <mclasen@redhat.com>
  *
- * Based on similar code from:
- *      Thomas Wood <thos@linux.intel.com>
+ * Based on similar code from Mx.
  */
 
+#ifndef __GTK_SWITCH_H__
+#define __GTK_SWITCH_H__
+
 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
-#ifndef __GTK_SWITCH_H__
-#define __GTK_SWITCH_H__
-
 #include <gtk/gtkwidget.h>
 
 G_BEGIN_DECLS
@@ -73,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;