1. 28 Oct, 2001 4 commits
    • Anders Carlsson's avatar
      Remove note about coordinates in GdkPoint being 16-bit since they're · 48298c1d
      Anders Carlsson authored
      2001-10-28  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/tmpl/regions.sgml: Remove note about coordinates in GdkPoint
      	being 16-bit since they're 32-bit now. Fixes #62681.
      48298c1d
    • jacob berkman's avatar
      do not call gtk_settings_get_default() here as that requires an X · 96462944
      jacob berkman authored
      2001-10-28  jacob berkman  <jacob@ximian.com>
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_class_init): do not call
      	gtk_settings_get_default() here as that requires an X connection
      	(which breaks doc building with no X connection) and is not
      	multihead safe
      	(gtk_color_selection_init): delay palette loading until realize
      	time
      	(gtk_color_selection_realize): load the palette, and initialize
      	the global palette if it hasn't been already
      
      	* gtk/gtkpreview.c (gtk_preview_class_init): don't initialize the
      	visual/cmap fields of klass->info since they are gone
      	(gtk_preview_get_visual): just return gdk_rgb_get_visual ()
      	(gtk_preview_get_cmap): just return gdk_rgb_get_colormap ()
      	(gtk_preview_realize): don't set VISUAL and COLORMAP attributes
      
      	* gtk/gtkpreview.h (struct _GtkPreviewInfo): remove visual and
      	cmap fields
      	(gtk_preview_get_visual):
      	(gtk_preview_get_cmap): mark as deprecated
      
      	* docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo
      	changes
      96462944
    • Owen Taylor's avatar
      un Oct 28 09:15:39 2001 Owen Taylor <otaylor@redhat.com> · 1b6f92f8
      Owen Taylor authored
              * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed
              structure to have GObject not GtkObject as
              parent_instance. (Jeff Franks.)
      1b6f92f8
    • Tor Lillqvist's avatar
  2. 27 Oct, 2001 20 commits
  3. 26 Oct, 2001 13 commits
    • Anders Carlsson's avatar
      Remove a dot in the documentation. Fixes bug #62632. · 16f42cbd
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtksizegroup.c (gtk_size_group_set_mode): Remove
      	a dot in the documentation. Fixes bug #62632.
      
      This has got to be the most useful bug I have ever fixed :)
      16f42cbd
    • Anders Carlsson's avatar
      Ugh, broken pipe. · 2a8aab4f
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkmain-x11.c: Replace int and guint with
      	long and gulong in some places to make the code 64-bit
      	clean.
      	(_gdk_windowing_init_check): Replace gint with gulong.
      	This patch was made by George Lebl and fixes bug #62113.
      2a8aab4f
    • Anders Carlsson's avatar
      Replace int and guint with long and gulong in some places to make the code · dcb9a6e1
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkmain-x11.c: Replace int and guint with
      	long and gulong in some places to make the code 64-bit
      	clean.
      	(_gdk_windowing_init_check): Replace gint with gulong.
      	This patch was made by George Lebl and fixes bug #62113.
      dcb9a6e1
    • Anders Carlsson's avatar
      Set up destroy signals so that all windows will be destroyed when one is. · 78fca9fd
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* tests/testgtk.c
      	(create_window_states): Set up destroy signals so that
      	all windows will be destroyed when one is. This fixes
      	bug #58133.
      78fca9fd
    • Anders Carlsson's avatar
      Don't set a fixed height on the hscale widget. This fixes "bug" #55840. · dc0772a2
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* tests/testgtk.c (create_range_controls): Don't set a
      	fixed height on the hscale widget. This fixes "bug"
      	#55840.
      dc0772a2
    • Anders Carlsson's avatar
      Update GtkStyle since it's now a GObject and not a struct. This fixes · 944104f3
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtk-sections.txt: Update GtkStyle since it's now a
      	GObject and not a struct. This fixes #55807.
      
      Thanks to Damon for helping me out with gtk-doc and finding the solution
      to this bug.
      944104f3
    • Anders Carlsson's avatar
      Create new "indent_expander" style property. · fdb66f1a
      Anders Carlsson authored
      2001-10-26  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c:
      	(gtk_tree_view_class_init): Create new "indent_expander"
      	style property.
      
      	(gtk_tree_view_get_arrow_xrange): Add a tree argument
      	to the function since the xrange can change depending
      	on where in the tree we are.
      
      	(coords_are_over_arrow): Update function call to
      	gtk_tree_view_get_arrow_xrange.
      	(gtk_tree_view_draw_arrow): Likewise.
      
      	(gtk_tree_view_real_expand_collapse_cursor_row):
      	Call real_{expand|collapse}_row, so that we'll have an
      	animation.
      fdb66f1a
    • Kristian Rietveld's avatar
      fixed a small typo · ad29f522
      Kristian Rietveld authored
      Fri Oct 26 20:13:36 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * tests/Makefile.am: fixed a small typo
      ad29f522
    • Kristian Rietveld's avatar
      Anders Carlsson suggested to use G_N_ELEMENTS here · d84a4acb
      Kristian Rietveld authored
      Fri Oct 26 18:27:11 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * demos/gtk-demo/list_store.c (create_model): Anders
              Carlsson suggested to use G_N_ELEMENTS here
      d84a4acb
    • Sven Neumann's avatar
      gtk/gtkbutton.[ch] fixed inline comments · 82c14f6f
      Sven Neumann authored
      2001-10-26  Sven Neumann  <sven@gimp.org>
      
              * gtk/gtkbutton.[ch]
              * gtk/gtkdnd.c: fixed inline comments
      
              * gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar.
      82c14f6f
    • Sven Neumann's avatar
      gtk/gtkbutton.[ch] fixed inline comments · 5a6d127d
      Sven Neumann authored
      2001-10-26  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkbutton.[ch]
      	* gtk/gtkdnd.c: fixed inline comments
      
      	* gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar.
      5a6d127d
    • Jonathan Blandford's avatar
      sync minor clenup · b1ea32b8
      Jonathan Blandford authored
      b1ea32b8
    • Hans Breuer's avatar
      updated externals · 11e6236b
      Hans Breuer authored
      2001-10-26  Hans Breuer  <hans@breuer.org>
      
      	* gdk-pixbuf/gdk_pixbuf.def :
      	* gdk/gdk.def :
      	* gtk/gtk.def : updated externals
      
      	* gdk/win32/gdkpixmap-win32.c : removed duplicate of
      	gdk_window_lookup implementation. It already was in
      	gdk/win32/gdkwindow-win32.c
      
      	* gdk/win32/gdkproperty-win32.c : made it compile again
      	after GdkAtom API change
      
      	* gtk/gtk/makefile.msc.in : updated
      11e6236b
  4. 25 Oct, 2001 3 commits
    • Owen Taylor's avatar
      Version 1.3.10, require GLib 1.3.10. · ec303806
      Owen Taylor authored
      Wed Oct 24 11:36:33 2001  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in (GTK_MICRO_VERSION): Version 1.3.10,
              require GLib 1.3.10.
      
              * NEWS: updates.
      ec303806
    • Jonathan Blandford's avatar
      Add support for invalid nodes. (_gtk_rbnode_rotate_right): Ditto. · 889d64b4
      Jonathan Blandford authored
      Thu Oct 25 16:27:29 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkrbtree.c (_gtk_rbnode_rotate_left): Add support for
      	invalid nodes.
      	 (_gtk_rbnode_rotate_right): Ditto.
      	 (_gtk_rbtree_node_mark_invalid): New function.
      	 (_gtk_rbtree_node_mark_valid): New function.
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): We're a
      	GObject, not a GtkObject.
      	(gtk_tree_model_sort_row_has_child_toggled): Rewrote to be more
      	correct.
      	(gtk_tree_model_sort_row_deleted): ditto.
      	(gtk_tree_model_sort_{un,}ref_node): Fix.
      
      	* gtk/gtktreeview.c: Protean incremental reflow support (commented
      	out)
      
      	* gtk/gtktreeview.h (GtkTreeViewSearchEqualFunc): change char *key
      	to const char *key.
      
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path_helper):
      	Important 1 line fix to fix a lot of refcounting woes.
      889d64b4
    • Matt Wilson's avatar
      call gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which · bbd503bc
      Matt Wilson authored
      2001-10-25  Matt Wilson  <msw@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_destroy): call
      	gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
      	now invalidates) so that we remove our idle functions.
      	(gtk_text_view_destroy_layout): remove the first_validate_idle as
      	well.
      bbd503bc