]> Pileus Git - ~andy/gtk/blobdiff - docs/reference/gtk/tmpl/gtkspinbutton.sgml
Remove unneded casts
[~andy/gtk] / docs / reference / gtk / tmpl / gtkspinbutton.sgml
index f9f24d10b38069f933222812168e67208c23d3e8..b6c899c5f38417efeab4aa6eb8c8efdce9e42851 100644 (file)
@@ -34,8 +34,8 @@ void create_integer_spin_button (void) {
    GtkWidget *window, *spinner;
    GtkAdjustment *spinner_adj;
 
-   spinner_adj = (GtkAdjustment *) gtk_adjustment_new (50.0, 0.0, 100.0, 1.0, 5.0, 5.0);
-   
+   spinner_adj = gtk_adjustment_new (50.0, 0.0, 100.0, 1.0, 5.0, 5.0);
+
    window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_container_set_border_width (GTK_CONTAINER (window), 5);
    
@@ -69,8 +69,8 @@ void create_floating_spin_button (void) {
    GtkWidget *window, *spinner;
    GtkAdjustment *spinner_adj;
 
-   spinner_adj = (GtkAdjustment *) gtk_adjustment_new (2.500, 0.0, 5.0, 0.001, 0.1, 0.1);
-   
+   spinner_adj = gtk_adjustment_new (2.500, 0.0, 5.0, 0.001, 0.1, 0.1);
+
    window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_container_set_border_width (GTK_CONTAINER (window), 5);
    
@@ -99,6 +99,9 @@ void create_floating_spin_button (void) {
 <!-- ##### SECTION Stability_Level ##### -->
 
 
+<!-- ##### SECTION Image ##### -->
+
+
 <!-- ##### STRUCT GtkSpinButton ##### -->
 <para>
 <structfield>entry</structfield> is the #GtkEntry part of the #GtkSpinButton 
@@ -324,17 +327,6 @@ Creates a new #GtkSpinButton.
 @max: 
 
 
-<!-- ##### MACRO gtk_spin_button_get_value_as_float ##### -->
-<para>
-Gets the value in the @spin_button. 
-</para>
-
-@Returns: the value of @spin_button
-@Deprecated: Use gtk_spin_button_get_value() instead.
-<!-- # Unused Parameters # -->
-@spin_button: a #GtkSpinButton
-
-
 <!-- ##### FUNCTION gtk_spin_button_get_value_as_int ##### -->
 <para>