1. 11 Dec, 2001 8 commits
  2. 10 Dec, 2001 3 commits
  3. 09 Dec, 2001 3 commits
    • Jiri (George) Lebl's avatar
      check for 0 value on the denominator in the horizontal case just like we · c66ca2df
      Jiri (George) Lebl authored
      Sun Dec 09 15:06:51 2001  George Lebl <jirka@5z.com>
      
      	* gtk/gtkrange.c (gtk_range_calc_layout): check for 0 value on the
      	  denominator in the horizontal case just like we do in the vertical
      	  case (why I didn't notice that there were two cases the first time
      	  around is beyond me:).  Also fix indentation in the vertical case.
      c66ca2df
    • Anders Carlsson's avatar
      Update xsettings name. · 17f81739
      Anders Carlsson authored
      2001-12-09  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkevents-x11.c: Update xsettings name.
      
      	* gtk/gtkdnd.c (gtk_drag_check_threshold): Use the
      	gtk-dnd-drag-threshold GtkSetting.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Add
      	setting for dnd drag threshold.
      17f81739
    • Matthias Clasen's avatar
      Add docs. · 96cee90c
      Matthias Clasen authored
              * gtk/gtkcontainer.c: Add docs.
      
              * gtk/tmpl/gtkmain.sgml: Markup fixes.
      
              * gtk/gtk-docs.sgml: Add an empty entity to suppress
              crossreferencing in programlistings.
      96cee90c
  4. 08 Dec, 2001 8 commits
    • Matthias Clasen's avatar
      Doc markup fix. · 63b4e379
      Matthias Clasen authored
              * gtk/gtkwidget.c: Doc markup fix.
      
              * gtk/gtktreeviewcolumn.c: Markup fixes. (#66447)
      
              * gtk/gtktreestore.c: Typo fixes. (#66445)
      
              * gtk/gtkaccelgroup.c: Misc doc markup. (#66425)
      
              * gtk/gtkclipboard.c (gtk_clipboard_get_owner): Fix reference
              to gtk_clipboard_set_with_owner(). (#66424)
      
              * gtk/tmpl/gtkclipboard.sgml: Fix references to
              get_clipboard_set_with_owner(). (#66424)
      63b4e379
    • Christopher Blizzard's avatar
      Fallback to setting the prgname to "<unknown>" if someone doesn't pass in · 1d0e9b7f
      Christopher Blizzard authored
      Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>
      
              * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
              "<unknown>" if someone doesn't pass in a valid argc.  (Patch from
              Fabrice Bellet <fabrice@gnu.org>, #54127).
      1d0e9b7f
    • Jonathan Blandford's avatar
      Add debug spew to lots of places, so that people with crashy trees can · 6793f772
      Jonathan Blandford authored
      Sat Dec  8 10:04:54 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots
      	of places, so that people with crashy trees can just run their
      	program with GTK_DEBUG=TREE.
      6793f772
    • Kristian Rietveld's avatar
      nuke the stamp++, per jrb's request · a6ce5ae3
      Kristian Rietveld authored
      Sat Dec  8 20:57:24 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtkliststore.c (gtk_list_store_remove): nuke the stamp++,
              per jrb's request
      a6ce5ae3
    • Anders Carlsson's avatar
      Don't return TRUE since then the default GtkLayout expose handler won't be · 744e6f6f
      Anders Carlsson authored
      2001-12-08  Anders Carlsson  <andersca@gnu.org>
      
      	* tests/testgtk.c (layout_expose_handler): Don't return TRUE
      	since then the default GtkLayout expose handler won't be called.
      744e6f6f
    • Jonathan Blandford's avatar
      remove g_return_if_fail. · 9bec4e27
      Jonathan Blandford authored
      Fri Dec  7 23:42:50 2001  Jonathan Blandford  <jrb@webwynk.net>
      
      	* gtk/gtktreeview.c (validate_rows_handler): remove
      	g_return_if_fail.
      
      	* gtk/gtktreeview.c (validate_visible_area): Patch from Manish
      	Singh <yosh@gimp.org> to fix bug when rendering Tree with an
      	empty model.
      9bec4e27
    • Jonathan Blandford's avatar
      get logic right, #66249 · 82c5ace8
      Jonathan Blandford authored
      Fri Dec  7 20:06:14 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (validate_visible_area): get logic right,
      	#66249
      
      	* gtk/gtkrbtree.c (_gtk_rbtree_remove_node): fix bug where
      	removing a node ended up with a corrupt tree.  Really really nasty
      	bug.
      	(_gtk_rbtree_debug_spew): new debug helper function
      	(_fixup_validation): new inline function to clean up code
      	readability a lot.
      82c5ace8
    • Owen Taylor's avatar
      Close comment. · 203d7df3
      Owen Taylor authored
      Fri Dec  7 19:34:51 2001  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtktoolbar.c (gtk_toolbar_insert_element):
              Close comment.
      203d7df3
  5. 07 Dec, 2001 5 commits
  6. 06 Dec, 2001 2 commits
    • Owen Taylor's avatar
      Make button 1 clicks on the trough do pages, button 3 steps. (Patch from · 49587ba0
      Owen Taylor authored
      Thu Dec  6 16:50:17 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrange.c: Make button 1 clicks on the trough
      	do pages, button 3 steps. (Patch from Hans Breuer
      	#63735)
      49587ba0
    • Matthias Clasen's avatar
      Fix docs. (#66383) · 31df9723
      Matthias Clasen authored
              * gtk/gtklabel.c: Fix docs. (#66383)
      
              * gtk/gtkbbox.c (gtk_button_box_set_child_secondary): Fix docs.
              (#66278, #66280)
      
              * gdk/gdkwindow.h (gdk_window_get_deskrelative_origin),
              gdk/gdkimage.h (gdk_image_get): Deprecate. (#66208)
      
              * gtk/gtkcolorsel.c (gtk_color_selection_set_update_policy):
              Don't emit a g_warning() about being deprecated. (#66208)
      
              * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_widget): Add docs.
      
              * gtk/gtkcontainer.c: Doc fixes.
      
              * gtk/gtkliststore.c (gtk_list_store_clear): Add docs; misc doc fixes.
      
              * gtk/gtkstyle.c (gtk_style_attach): Add docs.
      
              * gdk-pixbuf.h (gdk_pixbuf_ref, gdk_pixbuf_unref,
              gdk_pixbuf_animation_ref, gdk_pixbuf_animation_unref):
              Deprecate. (#66208)
      
              * gtk/tmpl/gtklabel.sgml: Remove redundant docs. (#66383)
      
              * gtk/tree_widget.sgml: Typo fix. (#66256)
      
              * gdk-pixbuf/Makefile.am (SCAN_OPTIONS): Add --deprecated-guards.
      
              * gtk/tmpl/gtktext.sgml, gtk/tmpl/gtktree.sgml,
              gtk/tmpl/gtktreeitem.sgml: Updates.
      31df9723
  7. 05 Dec, 2001 5 commits
    • Sven Neumann's avatar
    • Hidetoshi Tajima's avatar
      restore the else case of #ifdef __GNUC__ #66225 · 0657d741
      Hidetoshi Tajima authored
      	* gtk/gtktreeprivate.h: restore the else case of #ifdef __GNUC__
      	#66225
      0657d741
    • Manish Singh's avatar
      gtk/gtkmain.c g_module_symbol takes a gpointer *, not just a gpointer. · 9605ec8a
      Manish Singh authored
      2001-12-04  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkmain.c
              * gtk/queryimmodules.c: g_module_symbol takes a gpointer *, not just
              a gpointer.
      
              * gtk/gtkwidget.c (gtk_widget_push_composite_child): minor cosmetic
              correction to docs.
      
              * demos/gtk-demo/item_factory.c: add GTK_WINDOW() cast
      9605ec8a
    • Havoc Pennington's avatar
      remove g_assert_not_reached() that was bogus, since we demand-create the · 6b1407a3
      Havoc Pennington authored
      2001-12-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): remove
      	g_assert_not_reached() that was bogus, since we demand-create the
      	tag info. reported by Chris Phelps
      
              Jump through assorted hoops to fix bug from Chris Phelps where
      	removing tags from the table resulted in btree trying to
      	access tag->table
      
      	* gtk/gtktextbuffer.c: set up mechanics of adding/removing
      	ourselves to the tag table
      
      	* gtk/gtktexttagtable.c (_gtk_text_tag_table_add_buffer)
      	(_gtk_text_tag_table_remove_buffer): private cruft to
      	let us notify buffer of disappearing tags
      
      	* gtk/gtktexttag.h: remove BTreeNode typedef from this public
      	header, put it in tagprivate
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_new): don't connect to
      	tag_removed; it's emitted too late.
      	(_gtk_text_btree_notify_will_remove_tag): rename tag_remove_cb to
      	this
      
      	Padding for ABI-compat expansion
      
      	* gtk/gtktexttag.h (struct _GtkTextAttributes): pad this
      	(struct _GtkTextAppearance): one pad in here too
      
      	* gtk/gtktextlayout.h (struct _GtkTextLayoutClass): padding here
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): more padding,
      	since action signals etc. seem pretty likely
      
      	* gtk/gtktextbuffer.h (struct _GtkTextBufferClass): padding
      
      	* gtk/gtktexttag.h (struct _GtkTextTagClass): padding
      
      	* gtk/gtktexttagtable.h (struct _GtkTextTagTableClass): padding
      6b1407a3
    • Matthias Clasen's avatar
      Deprecate. (#65851) · a7bab735
      Matthias Clasen authored
              * gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)
      
              * gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)
      
              * gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.
      
              * gtk/tmpl/gtkwidget.sgml: Updates.
              * gtk/Makefile.am (IGNORE_HFILES): Remove gtktextchild.h.
      a7bab735
  8. 04 Dec, 2001 6 commits
    • Jonathan Blandford's avatar
      remove gtk_tree_view_column_cell_event, #62084. · af05ac0e
      Jonathan Blandford authored
      Tue Dec  4 18:51:44 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
      	#62084.
      af05ac0e
    • Jonathan Blandford's avatar
      Minor fix. · 57506c43
      Jonathan Blandford authored
      Tue Dec  4 18:38:35 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* demos/gtk-demo/main.c: (create_tree): Minor fix.
      
      	* docs/tree-column-sizing.txt: Update
      
      	* gtk/gtkrbtree.[ch]: Massive work to support validation.
      
      	* gtk/gtktreemodel.c: Doc fixes.
      
      	* gtk/gtktreeview.c: Incremental reflow added.
      	* gtk/gtktreeviewcolumn.c: ditto
      	* gtk/gtktreeviewcolumn.h: ditto
      
      itty bitty ChangeLog entry.  Big 'ol changes.
      57506c43
    • Havoc Pennington's avatar
      add a warning for "invisible" property, #65999 · f6f43536
      Havoc Pennington authored
      2001-12-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_property): add a warning for
      	"invisible" property, #65999
      f6f43536
    • Matt Wilson's avatar
      fixed docs · f27cf774
      Matt Wilson authored
      2001-12-04  Matt Wilson  <msw@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_insert): fixed docs
      f27cf774
    • Owen Taylor's avatar
      Simplify, make more efficient and fix memory leak when turning quark into · b36b2298
      Owen Taylor authored
      Tue Dec  4 12:16:31 2001  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtksettings.c (gtk_settings_set_property_value):
      	Simplify, make more efficient and fix memory leak
      	when turning quark into a string. (#66103, HideToshi
      	Tajima)
      b36b2298
    • Owen Taylor's avatar
      Ref and sink priv->tooltips in init() and unref priv->tooltips in destroy · feca5a64
      Owen Taylor authored
      Tue Dec  4 12:06:13 2001  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtkcolorsel.c: Ref and sink priv->tooltips in
      	init() and unref priv->tooltips in destroy rather
      	than calling gtk_object_destroy() which has no
      	effect on memory management. (#66104, HideToshi
      	Tajima)
      	* gtk/gtkcolorsel.c (palette_set_color): Use g_object_set_data_full()
      	so we free the when the object is freed. (Fixes memory
      	leak, #66096, HideToshi Tajima)
      	* gdk/gdkevents.c (gdk_synthesize_window_state): Use
      	a full GdkEvent structure to avoid reads of uninitialized/
      	invalid memory in gdk_event_put() (#65877, patch
      	from Hidetoshi Tajima)
      feca5a64