]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcheckbutton.c
Updated Norwegian bokmål translation.
[~andy/gtk] / gtk / gtkcheckbutton.c
index 6899a504408c54e801d58ea77966704f71379440..92d82f279b6baef5a682d375ca34c096e3900f95 100644 (file)
@@ -24,7 +24,7 @@
  * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
  */
 
-#include <config.h>
+#include "config.h"
 #include "gtkcheckbutton.h"
 #include "gtklabel.h"
 #include "gtkprivate.h"
@@ -155,14 +155,14 @@ gtk_check_button_paint (GtkWidget    *widget,
          
          if (interior_focus && child && GTK_WIDGET_VISIBLE (child))
            gtk_paint_focus (widget->style, widget->window, GTK_WIDGET_STATE (widget),
-                            NULL, widget, "checkbutton",
+                            area, widget, "checkbutton",
                             child->allocation.x - focus_width - focus_pad,
                             child->allocation.y - focus_width - focus_pad,
                             child->allocation.width + 2 * (focus_width + focus_pad),
                             child->allocation.height + 2 * (focus_width + focus_pad));
          else
            gtk_paint_focus (widget->style, widget->window, GTK_WIDGET_STATE (widget), 
-                            NULL, widget, "checkbutton",
+                            area, widget, "checkbutton",
                             border_width + widget->allocation.x,
                             border_width + widget->allocation.y,
                             widget->allocation.width - 2 * border_width,
@@ -229,7 +229,7 @@ gtk_check_button_size_request (GtkWidget      *widget,
       requisition->height = MAX (requisition->height, temp) + 2 * (focus_width + focus_pad);
     }
   else
-    (* GTK_WIDGET_CLASS (gtk_check_button_parent_class)->size_request) (widget, requisition);
+    GTK_WIDGET_CLASS (gtk_check_button_parent_class)->size_request (widget, requisition);
 }
 
 static void
@@ -294,7 +294,7 @@ gtk_check_button_size_allocate (GtkWidget     *widget,
        }
     }
   else
-    (* GTK_WIDGET_CLASS (gtk_check_button_parent_class)->size_allocate) (widget, allocation);
+    GTK_WIDGET_CLASS (gtk_check_button_parent_class)->size_allocate (widget, allocation);
 }
 
 static gint
@@ -319,7 +319,7 @@ gtk_check_button_expose (GtkWidget      *widget,
                                            event);
        }
       else if (GTK_WIDGET_CLASS (gtk_check_button_parent_class)->expose_event)
-       (* GTK_WIDGET_CLASS (gtk_check_button_parent_class)->expose_event) (widget, event);
+       GTK_WIDGET_CLASS (gtk_check_button_parent_class)->expose_event (widget, event);
     }
   
   return FALSE;
@@ -335,9 +335,9 @@ gtk_check_button_draw_indicator (GtkCheckButton *check_button,
   g_return_if_fail (GTK_IS_CHECK_BUTTON (check_button));
   
   class = GTK_CHECK_BUTTON_GET_CLASS (check_button);
-  
+
   if (class->draw_indicator)
-    (* class->draw_indicator) (check_button, area);
+    class->draw_indicator (check_button, area);
 }
 
 static void