1. 13 Oct, 2004 1 commit
  2. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  3. 06 Mar, 2004 1 commit
  4. 11 Feb, 2004 1 commit
  5. 10 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Document these functions. · 6f1d9d47
      Matthias Clasen authored
      Tue Feb 10 01:58:55 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcontainer.c (gtk_container_set_focus_hadjustment):
      	* gtk/gtkcontainer.c (gtk_container_set_focus_vadjustment): Document
      	these functions.
      6f1d9d47
  6. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
  7. 08 Jul, 2003 2 commits
  8. 04 Jul, 2003 1 commit
    • Soeren Sandmann's avatar
      new test for removing items · f91ae4ed
      Soeren Sandmann authored
      Fri Jul  4 19:06:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* tests/stresstest-toolbar.c: new test for removing items
      
      	* tests/testtoolbar.c: add a popup menu
      
      	* gtk/gtkcontainer.c (gtk_container_remove): add hack to avoid
      	  assert widget->parent == container when the container is a
      	  toolbar.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_remove_tool_item): Make much
      	simpler. Also make correct.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_button_press): make
      	popup_context_menu a boolean handled signal.
      f91ae4ed
  9. 05 Feb, 2003 1 commit
  10. 17 Dec, 2002 1 commit
    • Matthias Clasen's avatar
      Fix a few doc comments. Link to style properties. · 5d347cad
      Matthias Clasen authored
      2002-12-17  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcontainer.c: Fix a few doc comments.
      	* gtk/tmpl/gtkrc.sgml: Link to style properties.
      
      	* gtk/tmpl/gtkcontainer.sgml: Add bits about child properties.
      
      	* gtk/tmpl/gtkwidget.sgml: Add bits about style properties.
      
      	* gdk/tmpl/pixmaps.sgml:
      	* gdk/tmpl/windows.sgml:
      	* gdk/tmpl/drawing.sgml:
      	* gdk/tmpl/gcs.sgml:
      	* gtk/tmpl/gtktextview.sgml:
      	* gtk/tmpl/gtkrc.sgml:
      	* gtk/tmpl/gtkiconfactory.sgml:
      	* gtk/tmpl/gtkaccelgroup.sgml: Remove ids which are now
      	generated by gtk-doc.
      5d347cad
  11. 15 Dec, 2002 1 commit
    • Matthias Clasen's avatar
      Add docs. · d745218d
      Matthias Clasen authored
      	* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
      	(gtk_container_child_get_valist):
      	(gtk_container_child_get_property):
      	(gtk_container_child_set_valist):
      	(gtk_container_child_set_property):
      	(gtk_container_add_with_properties):
      	(gtk_container_child_set):
      	(gtk_container_child_get): Add docs.
      
      	* gtk/gtkwindow.c (gtk_window_activate_default):
      	(gtk_window_activate_focus): Add docs.
      d745218d
  12. 10 Dec, 2002 1 commit
    • Matthias Clasen's avatar
      Delete EWMH properties if no private->state flags are set. (#66754) · 428c076f
      Matthias Clasen authored
      
      	* gdk/x11/gdkwindow-x11.c (set_initial_hints): Delete EWMH
      	properties if no private->state flags are set.  (#66754)
      
      	* gtk/gtkwidget.c (gtk_widget_class_find_style_property):
      	* gtk/gtkcontainer.c (gtk_container_class_find_child_property):
      	Doc typo fixes.
      
      	* gtk/tmpl/gtktextview.sgml: Add docs.
      
      	* gtk/tree_widget.sgml: Fix some links.
      
      	* gtk/tmpl/gtkwindow.sgml: Add docs.
      
      	* gtk/tmpl/gtkeditable.sgml: Document GtkEditable as an interface,
      	not as an abstract base class.
      
      	* gtk/gtk-docs.sgml: Move GtkEditable from "Abstract Base Classes"
      	to "Numeric/Text Data Entry".
      428c076f
  13. 07 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 285c8f78
      Manish Singh authored
      Sun Oct  6 21:23:29 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcontainer.[ch] gtk/gtkbox.[ch] gtk/gtkhbox.[ch]
              gtk/gtkvbox.[ch]: Deprecation cleanup
      285c8f78
  14. 03 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add a 'type' parameter, make public. · ef33adff
      Owen Taylor authored
      Thu Oct  3 14:13:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.c (gdk_event_new): Add a 'type'
              parameter, make public.
      
              * gdk/gdkevents.c (gdk_event_copy): Copy the screen.
      
              * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c
              gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c:
              _gdk_event_new() => gdk_event_new().
      
              * gdk/win32/gdkevents-win32.c (real_window_procedure):
              Fix event_private->screen breakage that results from evil
              encapsulation breakage here.
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c
              gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c
              gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c
              gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c
              gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c
              gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c
              tests/testgtk.c: Remove most usage of stack-allocated
              GdkEvent structures.
      
              * gtk/gtktreeview.c: Use a cut-and-paste of the full
              send_focus_event() from gtkwindow.c that does the necessary
              notification of the ::has-focus property and setting of
              the HAS_FOCUS flag.x
      
              * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing
              an extraneous use of a GdkEvent.
      ef33adff
  15. 21 Sep, 2002 1 commit
    • Matthias Clasen's avatar
      Mark abstract types as G_TYPE_FLAG_ABSTRACT. (#72383) · 083c3aef
      Matthias Clasen authored
      	* gdk/gdkdraw.c (gdk_drawable_get_type):
      	* gdk/gdkgc.c (gdk_gc_get_type):
      	* gtk/gtkmenushell.c (gtk_menu_shell_get_type):
      	* gtk/gtkimcontext.c (gtk_im_context_get_type):
      	* gtk/gtkprogress.c (gtk_progress_get_type):
      	* gtk/gtkoldeditable.c (gtk_old_editable_get_type):
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_type):
      	* gtk/gtkwidget.c (gtk_widget_get_type):
      	* gtk/gtkseparator.c (gtk_separator_get_type):
      	* gtk/gtkscrollbar.c (gtk_scrollbar_get_type):
      	* gtk/gtkscale.c (gtk_scale_get_type):
      	* gtk/gtkrange.c (gtk_range_get_type):
      	* gtk/gtkpaned.c (gtk_paned_get_type):
      	* gtk/gtkmisc.c (gtk_misc_get_type):
      	* gtk/gtkitem.c (gtk_item_get_type):
      	* gtk/gtkcontainer.c (gtk_container_get_type):
      	* gtk/gtkbbox.c (gtk_button_box_get_type):
      	* gtk/gtkbox.c (gtk_box_get_type):
      	* gtk/gtkbin.c (gtk_bin_get_type):
      	* gtk/gtkobject.c (gtk_object_get_type): Mark abstract types as
      	G_TYPE_FLAG_ABSTRACT.  (#72383)
      083c3aef
  16. 10 Aug, 2002 1 commit
    • Soren Sandmann's avatar
      Minor documentation fixes · 77eee887
      Soren Sandmann authored
      2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gtk/tree_widget.sgml,
      	docs/reference/gtk/tmpl/gtkdialog.sgml,
      	docs/reference/gtk/tmpl/gtkentry.sgml,
      	docs/reference/gtk/tmpl/gtkfilesel.sgml,
      	docs/reference/gtk/tmpl/gtkfontsel.sgml,
      	docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
      	docs/reference/gtk/tmpl/gtktreemodel.sgml,
      	docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
      	gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
      	gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
      	gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
      	gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
      	gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
      	gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
      	gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
      	gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
      	gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
      	gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
      	gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
      	gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
      	gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
      	gtk/gtkwindow.c:
      
      	Minor documentation fixes
      
      	(#89254, patch from Brett Nash;
      	 #85809, patch from daten@dnetc.org;
      	 #76391, patch from Ross Burton;
      	 #74559, Manuel Clos;
      	 #73569, #72005, Alexey A. Malyshev;
      	 #70061, patch from Dennis Bj"orklund;
      	 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
      	 #78932, Vitaly Tishkov, patch from Ross Burton;
      	 #73306)
      77eee887
  17. 13 May, 2002 1 commit
    • Matthias Clasen's avatar
      Change parameter names to match the header file and the documentation. · 3fd4c9f1
      Matthias Clasen authored
      	* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
      	(gtk_container_class_find_child_property):
      	(gtk_container_class_list_child_properties):
      	* gtk/gtkwidget.c (gtk_widget_class_find_style_property):
      	(gtk_widget_class_list_style_properties): Change parameter names
      	to match the header file and the documentation.
      3fd4c9f1
  18. 05 May, 2002 1 commit
    • Matthias Clasen's avatar
      Bump version to 2.1.0, binary, interface age 0. · c272baf6
      Matthias Clasen authored
      	* configure.in: Bump version to 2.1.0, binary, interface age 0.
      
      	* gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
      	(gtk_container_class_find_child_property): Document.
      
      	* gtk/gtkwidget.c:
      	* gtk/gtkwidget.h: New functions gtk_widget_class_list_child_properties
      	and gtk_widget_class_find_child_property.  (#80652)
      c272baf6
  19. 30 Apr, 2002 1 commit
    • Matthias Clasen's avatar
      Improve a warning. · e3d181b8
      Matthias Clasen authored
      	* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
      	Improve a warning.
      
      	* gdk/linux-fb/gdkinput.c (gdk_device_get_axis): Remove a broken
      	and redundant doc comment.
      
      	* gtk/gtkprogress.c (gtk_progress_class_init):
      	* gtk/gtkprogressbar.c (gtk_progress_bar_class_init):
      	* gtk/gtktexttag.c (gtk_text_tag_class_init):
      	* gtk/gtknotebook.c (gtk_notebook_class_init): Better blurbs,
      	incorporating stuff from the doc templates.
      
      	* gtk/gtkplug.c (gtk_plug_construct): Fix docs.
      e3d181b8
  20. 15 Apr, 2002 1 commit
    • Jonathan Blandford's avatar
      include internal children when doing focus. · 3e886418
      Jonathan Blandford authored
      Mon Apr 15 15:41:56 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcontainer.c (gtk_container_focus): include internal
      	children when doing focus.
      	(gtk_container_get_all_children): new static function to include
      	internal children when making a list of them.
      3e886418
  21. 09 Apr, 2002 2 commits
    • Owen Taylor's avatar
      Fix problems with HandleBox and focusing - #78232 · c9d9db0f
      Owen Taylor authored
      Tue Apr  9 19:01:28 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fix problems with HandleBox and focusing - #78232
      
      	* gtk/gtkwidget.c (gtk_widget_translate_coordinates): Handle
      	GtkHandleBox / GnomeDock style window heirarchy / widget
      	heirarchy disconnects. :-(.
      
      	* gtk/gtkcontainer.c: Handle failures from
      	gtk_widget_translate_coordinates (Focusing is not right, but at
      	least it doesn't go into infinite loops.)
      c9d9db0f
    • Owen Taylor's avatar
      Always set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy, · eb721363
      Owen Taylor authored
      Tue Apr  9 18:34:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcontainer.c (_gtk_container_queue_resize): Always
              set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy,
              even if we aren't currently in a resize container... we need
              this to properly handle size changes to widgets that are
              being moved from one heirarchy to another. (#78226)
      eb721363
  22. 20 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC, · 8acfd1e9
      Owen Taylor authored
      Wed Mar 20 16:36:08 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.c: Patch from Erwann Chenede, #73900 fixing
              a lot of warnings with Forte CC, mostly implicit
              casts between void * and function pointers.
      
              * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
              state field is not a GdkModifierType. (Also #73900)
      8acfd1e9
  23. 01 Mar, 2002 1 commit
    • Owen Taylor's avatar
      include gdkkeysysms.h if compiling gdk_keyval_convert_case. · fce84d05
      Owen Taylor authored
      Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkkeys.c: include gdkkeysysms.h if
              compiling gdk_keyval_convert_case.
      
              * gtk/gtkmenubar.c (gtk_menu_bar_cycle_focus): Implement
              <Control>Tab <Control><Shift>Tab to cycle between
              all menu bars in a toplevel once one is up.
      
              * tests/testgtk.c: Add a second menubar, this
              example is already full of crack anyways.
      
              * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Padd
              unhandled events up to the parent menu shell.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Only
              pop up the menu if the parent menu shell is still active.
      
              * gtk/gtkcontainer.[ch] (_gtk_container_focus_sort): Add a
              old_focus argument, export privately.
      fce84d05
  24. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182. · a504db9e
      Owen Taylor authored
      Fri Feb 22 18:36:45 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann,
      	#72182.
      
      	* demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c
      	gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c
      	gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h:
      	Squash trailing commas on enumerations.
      
      	* gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead
      	of 1 << 31 to work around AIX compiler problem. (C standard
      	seems to imply that compiler is required to use an unsigned
      	type for the enum value in this case.)
      
      	* gdk/gdkpixbuf-drawable.c: Fix lvalue casts.
      
      	* gtk/gtkwindow.h: Fix use of enum types for bitfields ...
      	compilers may choose to use a signed type for bitfields.
      a504db9e
  25. 30 Jan, 2002 1 commit
  26. 28 Jan, 2002 1 commit
  27. 02 Jan, 2002 1 commit
  28. 10 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Close comment. · 74db59e9
      Matthias Clasen authored
      
              * gtk/gtkcontainer.c (gtk_container_child_type): Close comment.
      
              * gtk/gtkviewport.c: Add docs.
      74db59e9
  29. 09 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Add docs. · 0212048a
      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.
      0212048a
  30. 06 Dec, 2001 1 commit
    • 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
  31. 03 Dec, 2001 1 commit
    • Alexander Larsson's avatar
      Return FALSE from expose handlers. · c7cd3421
      Alexander Larsson authored
      2001-12-03  Alex Larsson  <alexl@redhat.com>
      
      	* gtk/gtkaccellabel.c:
      	* gtk/gtkarrow.c:
      	* gtk/gtkcolorsel.c:
      	* gtk/gtkcontainer.c:
      	* gtk/gtklabel.c:
      	* gtk/gtktextview.c:
      	* gtk/gtktogglebutton.c:
      	* gtk/gtktreeview.c:
      	* gtk/gtkwindow.c:
      	Return FALSE from expose handlers.
      c7cd3421
  32. 20 Nov, 2001 1 commit
    • Matthias Clasen's avatar
      Typo fix. · 9ea603f1
      Matthias Clasen authored
      
              * gtk/gtkcontainer.c (gtk_container_propagate_expose): Typo fix.
      
              * gdk/tmpl/event_structs.sgml: Small fixes.
      9ea603f1
  33. 17 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2; · a036c6e5
      Owen Taylor authored
      Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
      	gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
      	only for compatibility with GTK+-1.2; and deprecate it;
      	put all marshalers we actually use into gtkmarshalers.list
      	and use the _gtk_marshal_ prefix for these marshalers.
      a036c6e5
  34. 15 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann) · b27345fe
      Owen Taylor authored
      Thu Nov 15 14:19:34 2001  Owen Taylor  <otaylor@redhat.com>
      
       	* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
       	gdk_window_invalidate_maybe_recurse() for recursion.
       	(Soeren Sandmann)
      
       	* gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann)
      
      	* gtk/gtkcontainer.c (gtk_container_expose): Call
      	gtk_container_forall() not _foreach() to propagate,
      	since we need to propagate exposes to internal children
      	as well.
      
      	* gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events):
      	Remove the restriction of only being able to call these
      	on window widgets, since we have lots of NO_WINDOW widgets
      	with windows now; for add events, recurse over the children
      	of widget->window to find one owned by the widget.
      
      	* gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only
      	window to catch events.
      
      	* gtk/gtktogglebutton.[ch]: Remove the code for switching
      	between NO_WINDOW and WINDOW widgets based on the mode.
      
      	* gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c
      	gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton.
      
      	* gtk/gtkrange.[ch]: Make into a NO_WINDOW widget.
      
      	* gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW
      	change for range.
      
      	* gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget.
      
      	* docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.
      b27345fe
  35. 14 Nov, 2001 1 commit
  36. 10 Nov, 2001 1 commit
    • Matthias Clasen's avatar
      Fix docs for gtk_tree_view_column_set_sort_order. (#62647) · f4f1768d
      Matthias Clasen authored
              * gtk/gtktreeviewcolumn.c: Fix docs for
              gtk_tree_view_column_set_sort_order. (#62647)
      
              * gtk/gtkcontainer.c: Fix docs for
              gtk_container_set_border_width. (#64139)
      
              * gtk/gtkcolorsel.c: Documentation fixes.
      
              * gtk/tmpl/gtkpaned.sgml: Document gtk_paned_set_gutter_size
              as noop. (#45802)
      
              * gtk/tmpl/gtkcolorsel.sgml: Remove stuff duplicating inline
              docs. (#60481)
      f4f1768d
  37. 04 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Add a function gdk_window_invalidate_maybe_recurse() for use in "shallow · 21457ced
      Owen Taylor authored
      Sun Nov  4 16:02:08 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkwindow.[ch]: Add a function gdk_window_invalidate_maybe_recurse()
              for use in "shallow invalidation" of a widget. (Windows belonging
              to the widget, but not to the widget's children)
      
              * gtk/gtkprivate.h gtk/gtkwidget.c gtk/gtksizegroup.c: Add private
              flags GTK_ALLOC_NEEDED, GTK_REQUEST_NEEDED.  These flags are set
              up on ancestors up to the resize container on queue_resize. Size
              requests only actually take place if GTK_REQUEST_NEEDED, size
              allocations only take place if GTK_ALLOC_NEEDED or the size
              changed.
      
              * gtk/gtkcontainer.c gtk/gtkwidget.c: Remove
              container->resize_widgets and the RESIZE_NEEDED flag since the
              above flags are sufficient to figure out what needs to be
              resized/reallocated. Remove code manipulating
              container->resize_widget.
      
              * gtk/gtkwidget.[ch]: Add gtk_widget_set_redraw_on_alloc(); this
              allows widgets to turn off being automatically invalidated is when
              they are resized.
      
              * gtk/gtkwidget.[ch] (gtk_widget_size_allocate): Invalidation when
              a widget is resized or moved is "shallow" as described above -
              only the windows that need to be invalidated are invalidated.
      
              * gtk/gtkbox.c gtk/gtktable.c gtk/gtkalignment.c docs/Changes-2.0.txt:
              Make these widget's init functions call
              gtk_widget_set_redraw_on_allocate(widget,FALSE).
      
              * gtk/gtkwindow.c (gtk_window_configure_event): Call
              _gtk_container_queue_resize(), since we don't want
              redrawing. (Probably could be done for other
              calls to gtk_widget_queue_resize() in gtkwindow.c,
              but this is the most important one.)
      
              * gtk/gtkwindow.c (gtk_window_move_resize): Don't call
              gtk_widget_queue_draw() - size_allocate() handles
              that as appropriate.
      
              * gtk/gtkframe.c (gtk_frame_size_allocate): Invalidate instead
              of queue_clear() to avoid invalidating children.
      21457ced
  38. 27 Oct, 2001 1 commit