diff options
author | Darin Adler <darin@src.gnome.org> | 2001-07-18 04:31:11 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2001-07-18 04:31:11 +0000 |
commit | 03496763290dfdc11277e8ae8ef065e02b05f7bd (patch) | |
tree | 64a6fa803a13a5642b35906c94d76b0a3e3291d9 /demos | |
parent | b0bb5ac3047f37ddf1a0a9b9c699cccb3b2a097f (diff) | |
download | gtk+-03496763290dfdc11277e8ae8ef065e02b05f7bd.tar.gz |
Ignore the sgml directory made by gtkdoc. Use gtk_window_set_resizable
* .cvsignore: Ignore the sgml directory made by gtkdoc.
* demos/pixbuf-demo.c: (main): Use gtk_window_set_resizable
instead of the deprecated gtk_window_set_policy.
* demos/testpixbuf-scale.c: Add missing <stdlib.h> include.
* gdk/gdkkeys.c: (gdk_keymap_class_init): Remove empty finalize
function to get rid of warning and some code too.
* gdk/x11/gdkfont-x11.c: (gdk_font_charset_for_locale): Add
missing const.
* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init_check): Remove
unused local.
* gdk/x11/gdkpango-x11.c: (gdk_pango_context_get): Add missing
const.
* gdk/x11/gdkselection-x11.c: (gdk_text_property_to_utf8_list),
(gdk_utf8_to_compound_text): Add missing const.
* gtk/gtkimage.c: (gtk_image_expose): Remove unused local.
* gtk/gtkmenubar.c: (gtk_menu_bar_hierarchy_changed): Add missing
cast and get rid of an unnecessary one.
* gtk/gtksettings.c: (gtk_settings_notify): Remove unused local.
* gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate): Remove unused
local.
* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_build_level):
Remove unused local.
* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_new): Add
missing const.
* tests/testsocket.c: (add_child): Add cast so the printf format
doesn't make us implicitly depend on what integer type
gtk_socket_get_id returns.
* tests/testtextbuffer.c: Add missing const.
* tests/testtreefocus.c: (main): Remove unused local.
* tests/treestoretest.c: (iter_remove): Remove unused local.
(uppercase_value): Remove unused function.
(make_window): Add statement to quiet the compiler's uninitialized
variable warning.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/pixbuf-demo.c | 2 | ||||
-rw-r--r-- | demos/testpixbuf-scale.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/demos/pixbuf-demo.c b/demos/pixbuf-demo.c index 641bdf3468..11b5e1a15f 100644 --- a/demos/pixbuf-demo.c +++ b/demos/pixbuf-demo.c @@ -213,7 +213,7 @@ main (int argc, char **argv) window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_widget_set_usize (window, back_width, back_height); - gtk_window_set_policy (GTK_WINDOW (window), FALSE, FALSE, FALSE); + gtk_window_set_resizable (GTK_WINDOW (window), FALSE); gtk_signal_connect (GTK_OBJECT (window), "destroy", GTK_SIGNAL_FUNC (destroy_cb), NULL); diff --git a/demos/testpixbuf-scale.c b/demos/testpixbuf-scale.c index 68b57a5bca..d2c318d2b2 100644 --- a/demos/testpixbuf-scale.c +++ b/demos/testpixbuf-scale.c @@ -1,6 +1,7 @@ #include <gtk/gtk.h> #include <stdio.h> +#include <stdlib.h> GdkInterpType interp_type = GDK_INTERP_BILINEAR; int overall_alpha = 255; |