1. 05 Dec, 2001 4 commits
    • 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
    • Sven Neumann's avatar
      close comment. · 57f50846
      Sven Neumann authored
      2001-12-05  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkwidget.c (gtk_widget_reset_shapes): close comment.
      
      	* gtk/queryimmodules.c: g_dir_read_name() returns const.
      57f50846
    • 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
  2. 04 Dec, 2001 13 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. · d1a858c8
      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
      d1a858c8
    • 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
    • Owen Taylor's avatar
      Fill in color fields to black for transparent colors since we'll later · 76030813
      Owen Taylor authored
      Tue Dec  4 11:45:45 2001  Owen Taylor  <otaylor@redhat.com>
      	* io-xpm.c (pixbuf_create_from_xpm): Fill in color
      	fields to black for transparent colors since we'll
      	later initialize pixels from them. (Fixes purify
      	errors, #66093, HideToshi Tajima)
      76030813
    • Owen Taylor's avatar
      Revert my last mistaken change - toggle-size-request doesn't take a · f84b1ed0
      Owen Taylor authored
      Tue Dec  4 11:06:54 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenuitem.c: Revert my last mistaken change -
              toggle-size-request doesn't take a requisition.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_class_init): Fix
              reference to marshaler that no longer exists.
      f84b1ed0
    • Stanislav Visnovsky's avatar
      Updated Slovak translation. · 4d7a33b0
      Stanislav Visnovsky authored
      2001-12-04  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
      
              * sk.po: Updated Slovak translation.
      4d7a33b0
    • Owen Taylor's avatar
      Patch from Bill Haneman (with many modifications) to make the focus color · 7537825b
      Owen Taylor authored
      Mon Dec  3 16:39:17 2001  Owen Taylor  <otaylor@redhat.com>
      
      	Patch from Bill Haneman (with many modifications) to make
      	the focus color work on dark themes and to make the
      	focus line width configurable. (#61079, #63074)
      
              * gtk/gtkwidget.c: Add style properties,
      	::focus-widget, ::focus-line-width, and ::focus-padding.
      
      	* gtk/gtkstyle.[ch]: Make gtk_paint_focus() take a
      	state argument as well so we can use fg[STATE] to
      	draw instead of always drawing with black.
      	Cange paint_focus() to respect GtkWidget::focus-width
      	and GtkWidget::focus-line-pattern. Fix continuity
      	problem where the default 1-1 stipple had a blob
      	in one corner and a gap in the other. Change the
      	interpretation of x/y/width/height to be the bounding
      	box of the focus rect instead of the rectangle
      	passed to gdk_draw_rectangle.
      
      	* gtk/gtkcheckbutton.c gtk/gtklistitem.c gtk/gtknotebook.c
      	gtk/gtkoptionmenu.c gtk/gtkradiobutton.c gtk/gtkspinbutton.c
      	gtk/gtktextview.c gtk/gtktreeview.c: Handle ::focus-width
      	and ::focus-line-padding.
      
      	* gtk/gtkentry.c: Handle :;focus-width property; cleanup
      	and remove duplicated code; fix drawing of focus rectangle
      	when interior-focus = FALSE. (#63072, #63073)
      
      	* gtk/gtkrange.c gtk/gtktext.c gtk/gtktreeitem.c
      	gtk/gtktreeviewcolumn.c: Basic fixups to make compile;
      	Range and TreeViewColumn will need more extensive fixing.
      
      	* gtk/gtkcolorsel.c: Honor focus line attributes when
      	drawing the focus on the color swatches. (#63071)
      
      	* gtk/gtkhsv.c: Honor focus line attributes when
      	drawing the focus for the ring and triangle.
      
      	* docs/widget_geometry.txt: Start at documenting how
      	various widgets are drawn.
      
      	* gtk/gtkbutton.c (_gtk_button_paint): Export
      	_gtk_button_paint() librarywide, so we don't have
      	duplicate a bunch of code in gtktogglebutton.c.
      
      	* gtk/gtktogglebutton.c: Use _gtk_button_paint().
      7537825b
    • Jonathan Blandford's avatar
      remove VOID:BOXED,POINTER and NONE:POINTER. and now everyone else has to · cac3ad31
      Jonathan Blandford authored
      Mon Dec  3 21:04:13 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkmarshalers.list: remove VOID:BOXED,POINTER and
      	NONE:POINTER.
      and now everyone else has to recompile their GTK too.... (-:
      cac3ad31
    • Christian Rose's avatar
      Updated Swedish translation. · 8ba54afe
      Christian Rose authored
      2001-12-04  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      8ba54afe
  3. 03 Dec, 2001 8 commits
  4. 02 Dec, 2001 3 commits
  5. 01 Dec, 2001 2 commits
  6. 30 Nov, 2001 5 commits
    • jacob berkman's avatar
      set the signal id to 0 after we disconnect from it · 5e0b93dc
      jacob berkman authored
      2001-11-30  jacob berkman  <jacob@ximian.com>
      
      	* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the
      	signal id to 0 after we disconnect from it
      5e0b93dc
    • Matthias Clasen's avatar
      Deprecate. · 101d4488
      Matthias Clasen authored
              * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
              gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
              gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
              gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref):  Deprecate.
      
              * gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not
              GTK_DISABLE_DEPRECATED.
      
              * gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
              gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.
      
              * gdk/tmpl/colors.sgml, gdk/tmpl/pixmaps.sgml, gdk/tmpl/dnd.sgml,
              gdk/tmpl/gcs.sgml: Document ref and unref functions as deprecated.
      101d4488
    • Owen Taylor's avatar
      Sanitize move/resize code, removing various bad, non-functional hacks. · d2b64a0b
      Owen Taylor authored
      Fri Nov 30 16:37:01 2001  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
      	move/resize code, removing various bad, non-functional
      	hacks. (Fixes #65048, reported by Damon Chaplin.)
      d2b64a0b
    • Owen Taylor's avatar
      Patch from Hidetoshi Tajima to fix bad match error when target drawable is · 845d3701
      Owen Taylor authored
      Fri Nov 30 16:12:21 2001  Owen Taylor  <otaylor@redhat.com>
      	* gdk/gdkpango.c: Patch from Hidetoshi Tajima to fix
      	bad match error when target drawable is not the
      	same depth as the root window. (#65841)
      	* HACKING: Update.
      845d3701
    • Owen Taylor's avatar
      Fix alignment problem in deserialization, (#65785, reported by Hidetoshi · 2de8e8bf
      Owen Taylor authored
      Fri Nov 30 15:55:34 2001  Owen Taylor  <otaylor@redhat.com>
      	* gdk-pixdata.c (gdk_pixdata_deserialize): Fix
      	alignment problem in deserialization, (#65785,
      	reported by Hidetoshi Tajima)
      2de8e8bf
  7. 29 Nov, 2001 5 commits
    • Matthias Clasen's avatar
      Typo fix. · 24aef23a
      Matthias Clasen authored
              * gdk/gdkwindow.c: Typo fix.
      
              * gtk/gtk-sections.sgml: Add GtkTextChildAnchor.
      
              * gdk/tmpl/dnd.sgml: Updates.
      
              * gdk/tmpl/pango_interaction.sgml: Document GdkPangoAttrEmbossed
              and GdkPangoAttrStipple.
      24aef23a
    • Kristian Rietveld's avatar
      add checks for empty menu items to behave like insensitive items (#59456) · 209d0867
      Kristian Rietveld authored
      Thu Nov 29 21:35:56 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtkmenu.c (gtk_menu_motion_notify): add checks for
              empty menu items to behave like insensitive items (#59456)
      
              * gtk/gtkmenuitem.c (gtk_real_menu_item_activate_item): select
              next item if the first item in the menu is a tear off item
              (#59456-2, suggestion by Matthias Clasen)
      
              * gtk/gtkmenushell.c (gtk_menu_shell_button_press),
              (gtk_menu_shell_button_release), (gtk_menu_shell_entry_notify),
              (gtk_menu_shell_leave_notify), (gtk_real_menu_shell_move_current),
              (gtk_real_menu_shell_activate_current): add check, so empty
              menu items behave like insensitive items (#59456)
      
              * gtk/gtkmenuitem.[ch]: add _gtk_menu_item_is_selectable to make
              the checks more readable ...
      
              * gtk/gtkmenushell.c (gtk_menu_shell_button_press),
              (gtk_menu_shell_button_release): causes the menu to dropdown if the
              caption is clicked again (#64977)
      209d0867
    • Havoc Pennington's avatar
      assertion here that we were at the end iterator was not correct; change · ddfc7377
      Havoc Pennington authored
      2001-11-29  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
      	assertion here that we were at the end iterator was not correct;
      	change code to move us to the end iterator. bug #65731
      ddfc7377
    • Manish Singh's avatar
      Fill in missing error parameters to DecodeHeader and DecodeColormap. · a0dd3bc8
      Manish Singh authored
      2001-11-28  Manish Singh  <yosh@gimp.org>
      
              * gdk-pixbuf/io-bmp.c (gdk_pixbuf__bmp_image_load_increment): Fill
              in missing error parameters to DecodeHeader and DecodeColormap.
      a0dd3bc8
    • Owen Taylor's avatar
      Remove improper use of g_locale_to_utf8() to convert from latin-1, and do · ea644d35
      Owen Taylor authored
      Wed Nov 28 20:05:44 2001  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove
      	improper use of g_locale_to_utf8() to convert from
      	latin-1, and do it the easy way by building the string
      	correctly in the first place.
      ea644d35