Commit aa9932da authored by Matthias Clasen's avatar Matthias Clasen

gtk/demos/gtk-demo/*: Remove all uses of deprecated functions.

parent 857f7b9d
2001-08-17 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/demos/gtk-demo/*: Remove all uses of deprecated functions.
2001-08-17 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
......
2001-08-17 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/demos/gtk-demo/*: Remove all uses of deprecated functions.
2001-08-17 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
......
2001-08-17 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/demos/gtk-demo/*: Remove all uses of deprecated functions.
2001-08-17 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
......
2001-08-17 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/demos/gtk-demo/*: Remove all uses of deprecated functions.
2001-08-17 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
......
2001-08-17 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/demos/gtk-demo/*: Remove all uses of deprecated functions.
2001-08-17 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
......
2001-08-17 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/demos/gtk-demo/*: Remove all uses of deprecated functions.
2001-08-17 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
......
2001-08-17 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/demos/gtk-demo/*: Remove all uses of deprecated functions.
2001-08-17 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
......
......@@ -24,6 +24,7 @@ INCLUDES = @STRIP_BEGIN@ \
-DDEMOCODEDIR="\"$(democodedir)\"" \
-I$(top_srcdir) \
-I$(top_builddir)/gdk \
-DG_DISABLE_DEPRECATED \
-DGDK_DISABLE_COMPAT_H \
-DGDK_DISABLE_DEPRECATED \
-DGTK_DISABLE_COMPAT_H \
......
......@@ -254,7 +254,7 @@ do_drawingarea (void)
da = gtk_drawing_area_new ();
/* set a minimum size */
gtk_widget_set_usize (da, 100, 100);
gtk_widget_set_size_request (da, 100, 100);
gtk_container_add (GTK_CONTAINER (frame), da);
......@@ -278,7 +278,7 @@ do_drawingarea (void)
da = gtk_drawing_area_new ();
/* set a minimum size */
gtk_widget_set_usize (da, 100, 100);
gtk_widget_set_size_request (da, 100, 100);
gtk_container_add (GTK_CONTAINER (frame), da);
......
......@@ -60,7 +60,7 @@ create_menu (gint depth,
{
sprintf (buf, "item %2d - %d", depth, j);
menuitem = gtk_radio_menu_item_new_with_label (group, buf);
group = gtk_radio_menu_item_group (GTK_RADIO_MENU_ITEM (menuitem));
group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menuitem));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
gtk_widget_show (menuitem);
......
......@@ -156,12 +156,12 @@ do_panes (void)
frame = gtk_frame_new (NULL);
gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_IN);
gtk_widget_set_usize (frame, 80, 60);
gtk_widget_set_size_request (frame, 80, 60);
gtk_paned_add2 (GTK_PANED (hpaned), frame);
frame = gtk_frame_new (NULL);
gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_IN);
gtk_widget_set_usize (frame, 60, 80);
gtk_widget_set_size_request (frame, 60, 80);
gtk_paned_add2 (GTK_PANED (vpaned), frame);
/* Now create toggle buttons to control sizing */
......
......@@ -122,7 +122,7 @@ id_to_macro (const gchar *id)
++p;
}
g_strup (macro->str);
g_ascii_strup (macro->str);
return g_string_free (macro, FALSE);
}
......
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