Commit 171fd90c authored by Soeren Sandmann's avatar Soeren Sandmann Committed by Søren Sandmann Pedersen

Make it compile with C89 compilers

Tue Jun 10 00:58:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* tests/testgtk.c: Make it compile with C89 compilers
parent 31d85b7e
Tue Jun 10 00:58:23 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* tests/testgtk.c: Make it compile with C89 compilers
2003-06-10 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
......
Tue Jun 10 00:58:23 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* tests/testgtk.c: Make it compile with C89 compilers
2003-06-10 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
......
Tue Jun 10 00:58:23 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* tests/testgtk.c: Make it compile with C89 compilers
2003-06-10 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
......
Tue Jun 10 00:58:23 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* tests/testgtk.c: Make it compile with C89 compilers
2003-06-10 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
......
Tue Jun 10 00:58:23 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* tests/testgtk.c: Make it compile with C89 compilers
2003-06-10 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
......
......@@ -8559,9 +8559,9 @@ create_notebook (GtkWidget *widget)
void
toggle_resize (GtkWidget *widget, GtkWidget *child)
{
GtkContainer *container = GTK_CONTAINER (gtk_widget_get_parent (child));
GValue value = { 0, };
g_value_init (&value, G_TYPE_BOOLEAN);
GtkContainer *container = GTK_CONTAINER (gtk_widget_get_parent (child));
gtk_container_child_get_property (container, child, "resize", &value);
g_value_set_boolean (&value, !g_value_get_boolean (&value));
gtk_container_child_set_property (container, child, "resize", &value);
......@@ -8570,9 +8570,9 @@ toggle_resize (GtkWidget *widget, GtkWidget *child)
void
toggle_shrink (GtkWidget *widget, GtkWidget *child)
{
GtkContainer *container = GTK_CONTAINER (gtk_widget_get_parent (child));
GValue value = { 0, };
g_value_init (&value, G_TYPE_BOOLEAN);
GtkContainer *container = GTK_CONTAINER (gtk_widget_get_parent (child));
gtk_container_child_get_property (container, child, "shrink", &value);
g_value_set_boolean (&value, !g_value_get_boolean (&value));
gtk_container_child_set_property (container, child, "shrink", &value);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment