]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcheckmenuitem.h
GtkWidget::draw() - Document how to get the dirty region
[~andy/gtk] / gtk / gtkcheckmenuitem.h
index 773d1ad7ab6b3b5cf1b4634c04662d730786c3ad..c793bcd8d3af8a74b1c4ebdd77f2ca34d5bbeb5c 100644 (file)
@@ -12,9 +12,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 <http://www.gnu.org/licenses/>.
  */
 
 /*
  * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  */
 
-#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
-#error "Only <gtk/gtk.h> can be included directly."
-#endif
-
 #ifndef __GTK_CHECK_MENU_ITEM_H__
 #define __GTK_CHECK_MENU_ITEM_H__
 
 
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
 #include <gtk/gtkmenuitem.h>
 
 
@@ -53,7 +51,7 @@ struct _GtkCheckMenuItem
 {
   GtkMenuItem menu_item;
 
-  /* <private> */
+  /*< private >*/
   GtkCheckMenuItemPrivate *priv;
 };
 
@@ -63,7 +61,7 @@ struct _GtkCheckMenuItemClass
 
   void (* toggled)       (GtkCheckMenuItem *check_menu_item);
   void (* draw_indicator) (GtkCheckMenuItem *check_menu_item,
-                          GdkRectangle     *area);
+                          cairo_t          *cr);
 
   /* Padding for future expansion */
   void (*_gtk_reserved1) (void);