1. 14 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Add missing gdk_rectangle_get_type() prototype. · 22491fd6
      Owen Taylor authored
      Mon Jun 11 18:15:16 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype.
      
      	* gtk/gtk[hv]scale.c: Include math.h, stdlib.h
      
      	* gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch]
      	  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c
      	  gtk/gtktextdisplay.c gtk/gtktextiter.[ch]
      	  gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt
      	  to recent changes in Pango.
      
      	* tests/testgtk.c: Set language tags with gtk_label_set_markup()
      	  to test whether the basic engine honors them.
      22491fd6
  2. 08 Jun, 2001 2 commits
    • Havoc Pennington's avatar
      geez, don't call g_list funcs on GSList · 74e7da21
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): geez,
      	don't call g_list funcs on GSList
      
      	* gtk/gtkwidget.c (gtk_widget_child_focus): replaces
      	gtk_container_focus(), since some widgets have focusable locations
      	which are not other widgets. These widgets should not have to be
      	containers just to manage the focus. For example, GtkHSV is
      	currently a container for no good reason. Also, this cleans
      	up the "if (is_container && is_sensitive && is_drawable)
      	container_focus ()" mess in widget implementations.
      
      	* gtk/gtkcontainer.c (gtk_container_focus): deprecate this
      	function, and have it just call gtk_widget_child_focus().
      
      	* gtk/gtkhsv.c: derive from widget not container
      
      	Throughout: fix to reflect GtkContainer::focus change
      74e7da21
    • Owen Taylor's avatar
      Add a direction-changed signal, and gdk_keymap_get_current_direction(). · da562f4d
      Owen Taylor authored
      Fri Jun  8 12:03:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkkeys.[ch]: Add a direction-changed signal,
      	and gdk_keymap_get_current_direction().
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkkeys-x11.c
      	  gdk/x11/gdkmain-x11.c gdk/x11/gdkprivate-x11.h: Track
      	the current locked group, use it to set the keymap
      	direction.
      
      	* gtk/gtksettings.c: Add a new gtk-split-cursor setting
      	to determine whether we draw a split cursor or use
      	a jumping cursor based on the current direction.
      
      	* gtk/gtkentry.c gtk/gtktextview.c gtk/gtktextlayout.[ch]:
      	Obey the split cursor setting.
      
      Fri Jun  8 11:57:50 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimmulticontext.c (activate_cb): Only activate
      	when toggling on, not when toggling off... (#55906)
      
      Wed Jun  6 10:37:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_double_buffered):
      	s/gdk_window_begin_paint/gdk_window_begin_paint_region/
      	in docs. (#55812, Vitaly Tishkov)
      da562f4d
  3. 01 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Add GDK_TYPE_RECTANGLE. · 1a6efe96
      Owen Taylor authored
      Fri Jun  1 11:31:55 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkrectangle.c (gdk_rectangle_get_type): Add
      	GDK_TYPE_RECTANGLE.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): Fix type
      	of allocation argument be GDK_TYPE_RECTANGLE.
      1a6efe96
  4. 25 May, 2001 1 commit
    • Havoc Pennington's avatar
      get sizes an icon set can render without falling back to missing image · 87684f95
      Havoc Pennington authored
      2001-05-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon
      	set can render without falling back to missing image icon
      
      	* gtk/gtktextview.c (gtk_text_view_size_request): request full
      	size of text, instead of random values
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): request full
      	size of tree view, instead of random values
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback
      	image in an appropriate size
      
              * gtk/gtkstock.h: Rename the stock items including _BUTTON_,
      	etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/
      
              Throughout: fix GTK_STOCK_BUTTON_ instances
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am:
      	Add a bunch of new stock items/icons
      
      	* gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
      	new function, convenience for inserting columns with a data func
      
      	* gtk/gtkiconfactory.c: keep a list of all existing icon factories
      	(_gtk_icon_factory_list_ids): use list of all factories to
      	generate a list of all known IDs
      
      	* gtk/gtkstock.c (gtk_stock_list_ids): replace
      	gtk_stock_list_items() with a function that returns all IDs known
      	including those for GtkIconFactory.
      87684f95
  5. 18 May, 2001 2 commits
    • Alexander Larsson's avatar
      Convert GtkArgs to GParams. Based on patch by John Margaglione. Also do · 7e1acba0
      Alexander Larsson authored
      2001-05-18  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkspinbutton.c:
      	Convert GtkArgs to GParams. Based on patch by John Margaglione.
      	Also do size request reasonable for MAXDOUBLE. Previously it printed
      	the limits to a buffer and overran it. Instead do it using log10() and
      	limit the width to 10 digits.
      
      	* gtk/gtkwidget.c (gtk_widget_get_property):
      	Correctly handle setting the parent property to NULL.
      7e1acba0
    • Owen Taylor's avatar
      Remove reallocate-redraws property. This is something that only a widget · 50512ddc
      Owen Taylor authored
      Fri May 18 14:25:20 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcontainer.c: Remove reallocate-redraws property.
      	This is something that only a widget writer would ever want
      	to change.
      
      	* gtk/gtksignal.c: Handle G_SIGNAL_TYPE_STATIC_SCOPE for
      	gtk_signal_emit_by_name().
      
      	* gtk/gtkviewport.c: Fix some warnings.
      
      	* gtk/gtkwidget.c gtk/gtksizegroup.c: Add "size group" facility
      	allowing the requisitions of multiple widgets to be grouped
      	together.
      
      	* tests/testgtk.c: Add GtkSizeGroup test
      
      	* demos/gtk-demo/sizegroup.c: Add GtkSizeGroup demo.
      
      	* demos/gtk-demo/main.c demos/gtk-demo/pixbufs.c: Fix some
      	warnings.
      
      	* configure.in: Switch to using AM_GLIB_GNU_GETTEXT.
      50512ddc
  6. 17 May, 2001 1 commit
    • Alexander Larsson's avatar
      Add properties, based on patch by Lee Mallabone. · 6ee1ae13
      Alexander Larsson authored
      2001-05-17  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gtk/gtkbbox.c:
      	Add properties, based on patch by Lee Mallabone.
      
      	* gtk/gtknotebook.c:
      	* gtk/gtktoolbar.c:
      	Convert from GtkArg to GParam, based on patch by John Margaglione.
      
      	* gtk/gtkhscale.c:
      	* gtk/gtkvscale.c:
      	* gtk/gtkhscrollbar.c:
      	* gtk/gtkvscrollbar.c:
      	* gtk/gtkrange.c:
      	Move adjustment property to GtkRange.
      
      	* gtk/gtklabel.c:
      	Setup mnemonics on property changes
      
      	* gtk/gtkwidget.c (gtk_widget_get_property):
      	GdkExtensionMode is an enum, not a flag. Set it with
      	g_value_set_enum ().
      
      	* tests/prop-editor.c:
      	Better propery editor.
      
      	* tests/testgtk.c:
      	Add new property test. Pass zero to the property editor to
      	get properties from all derived types.
      6ee1ae13
  7. 03 May, 2001 1 commit
    • Owen Taylor's avatar
      Add dependency on Atk for accessibility support. · 42cc312d
      Owen Taylor authored
      Thu May  3 14:13:49 2001  Owen Taylor  <otaylor@redhat.com>
      
              * INSTALL.in HACKING gtk/gtkaccessible.[ch] gtk/gtk.c: Add
      	dependency on Atk for accessibility support.
      
      	* configure.in **/Makefile.am: Major reworking of substituted
      	variables for CFLAGS/LIBS to make a lot more sane and
      	keep the the compile/link lines a bit shorter.
      
      	* gdk/x11/gdkkeys-x11.c: Fix #endif with trailing stuff.
      42cc312d
  8. 01 May, 2001 1 commit
    • Owen Taylor's avatar
      New default theme! A slighly improved version of the 2.0 Raleigh theme, · c626cd42
      Owen Taylor authored
      Mon Apr 30 20:29:27 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
      	  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
        	  New default theme! A slighly improved version of the 2.0 Raleigh
      	  theme, with Windows-esque focus/drawing default.
      	  (GtkWidget::interior_focus defaults to TRUE.)
      
      	* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.
      c626cd42
  9. 30 Apr, 2001 1 commit
    • Owen Taylor's avatar
      Add an extra parameter use_text to gtk_paint_label() to deal with · 2d372c40
      Owen Taylor authored
      Mon Apr 30 19:18:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkstyle.[ch] gtk/gtkaccellabel.c gtk/gtkcellrenderertext.c
      	  gtk/gtkhruler.c gtk/gtkhscale.c gtk/gtklabel.c gtk/gtkprogressbar.c
      	  gtk/gtkvruler.c gtk/gtkvscale.c: Add an extra parameter
                use_text to gtk_paint_label() to deal with style->bg[] vs style->text[].
      
      	* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
      	  with GtkWidget::interior_focus = TRUE better.
      
      	* gtk/gtkbutton.c
      
      	* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
      	G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
      	change that had to be made with g_object_get.
      2d372c40
  10. 28 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      voc Pennington <hp@redhat.com> · 7ad36413
      Havoc Pennington authored
      	* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_previous_line):
      	(gtk_text_layout_move_iter_to_next_line): fix these two for
      	invisible text, lots of other stuff still hosed.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
      	new function, replaces the get/set palette stuff. This function
      	is intended for use by libgnomeui which should set the hook to a
      	thing which sets the palette in GConf, and we need the
      	GConf-to-xsettings proxy which will result in the change being
      	propagated back to the GTK app.
      
      	* gtk/gtkaccelgroup.c (gtk_accel_group_add): add note to warning
      	about unusable signals that it may be because the signal has
      	parameters.
      
      	* gtk/gtkwidget.c (gtk_widget_modify_style): always copy the
      	style, otherwise gtkrc.c won't know to create a new GtkStyle for
      	it.
      	(gtk_widget_modify_color_component): call
      	gtk_widget_modify_style() so the rc style will get copied.
      	(gtk_widget_modify_font): ditto
      
      	* gtk/gtkrc.c: make a couple variables static
      
      	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): hide
      	help button by default, since it does nothing
      
      	* gtk/gtkcolorsel.c: add tooltips, work on key navigation, fool
      	around with UI
      
      	* gtk/gtkentry.c (gtk_entry_realize): request enter/leave notify
      	so we can have tooltips
      
      	* gtk/gtkhsv.c (gtk_hsv_realize): request enter/leave notify so we
      	can have tooltips
      
      	* gdk/gdkimage.h: mark gdk_image_new_bitmap with
      	GDK_ENABLE_BROKEN, because its memory behavior is completely
      	hosed.
      
      	* gtk/gtknotebook.c: remove key press handler, replace with
      	binding set, add numeric keypad support
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): accept KP_Delete
      
      	* gtk/gtktext.c (gtk_text_key_press): add a bunch of KP keysyms
      
      	* gtk/gtkentry.c (gtk_entry_class_init): accept GDK_KP_Delete in
      	addition to plain Delete
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): accept
      	GDK_KP_Enter in addition to GDK_Return
      
      	* gtk/gtkfontsel.c (gtk_font_selection_size_key_press): connect to
      	activate on entry instead of key press
      	(gtk_font_selection_on_clist_key_press): get
      	rid of this signal handler, not needed with new font sel.
      
      	* gtk/gtkfilesel.c (gtk_file_selection_key_press): remove a
      	no-longer-needed emit_stop_by_name(), just return TRUE
      
      	* gtk/gtkhscrollbar.c, gtk/gtkvscrollbar.c: remove keybindings
      	cruft, this widget is no longer focusable.
      
      	* gtk/gtkrange.h, gtk/gtkrange.c, gtk/gtkvscale.c,
      	gtk/gtkhscale.c: Get rid of trough_keys virtual function, add
      	move_slider action signal, add binding set for vscale/hscale, in
      	the process support numeric keypad
      
      	* gtk/gtkentry.c (gtk_entry_class_init): Add keypad bindings;
      	make GDK_Return and GDK_KP_Enter activate the entry via
      	binding set, instead of hardcoded.
      7ad36413
  11. 03 Apr, 2001 1 commit
    • Tim Janik's avatar
      changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc() · 748560e1
      Tim Janik authored
      Tue Apr  3 13:52:57 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkitemfactory.[hc]: changed gtk_item_factory_dump_items()
              and gtk_item_factory_dump_rc() GtkPatternSpec argument to
              GPatternSpec. this is actually unlikely to cause breakage in
              third-party apps since except for gle, pretty much ever caller
              passes NULL here.
      
              * gtk/gtkbindings.[hc]: removed gtk_pattern_*() API.
      
              * *.c: use g_pattern_*() API.
      
              * docs/Changes-2.0.txt: GtkPatternSpec->GPatternSpec updates.
      
              * gtk/gtkstyle.c (gtk_default_draw_resize_grip): assert unhandled
              directions aren't passed in.
      
              * gtk/gtksettings.[hc] (_gtk_settings_parse_convert): export conversion
              functionality to be usable from gtkstyle.c as well, give precedence
              for conversion to user-supplied parsers.
              s/_gtk_rc_property_parser_for_type/_gtk_rc_property_parser_from_type/;
      
              * gtk/gtkstyle.c (_gtk_style_peek_property_value): use
              _gtk_settings_parse_convert() for rcporperty value conversion.
      748560e1
  12. 02 Apr, 2001 4 commits
    • Owen Taylor's avatar
      Add GdkEventSetting event for notification of changes to system settings, · b52b326d
      Owen Taylor authored
      Mon Apr  2 18:18:07 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.h: Add GdkEventSetting event for notification
      	of changes to system settings, gdk_setting_get() to retrieve
      	a single system setting.
      
      	* gdk/x11/gdkevents-x11.c: Bridge gdk_setting_get() and GdkEventSetting
      	to the draft XSETTINGS mechanism.
      
      	* gdk/x11/xsettings-{common,client}.[ch]: Sample-implementation of
      	XSETTINGS.
      
      	* gtk/gtkmain.c gtk/gtksettings.[ch]: Propagate notification
      	of GDK settings changes to the GtkSettings object.
      
      	* gdk/gdkevents.[ch] gdk/gtk/gtksettings.c: Hook up the
      	double-click-timeout property to GDK.
      
      	* gdk/gdkcolor.[ch] gdk/gdkvisual.h gdk/gdkevent.[ch] gdk/gdkfont.[ch]:
      	Define GDK boxed types here.
      
      	* gdk/Makefile.am gdk/makeenums.pl: Generate source files
      	gdk/gdkenumtypes.[ch] for enum definitions.
      
      	* gtk/gtkcompat.h: Add defines for GTK_TYPE_GDK_*
      	* gtk/gtk-boxed.defs: Comment out GDK types
      	* gtk/gtktypeutils.h: Remove GDK types
      	* gtk/Makefile.am: No longer scan GDK headers for enumerataions
      b52b326d
    • Owen Taylor's avatar
      Applied patch from Ron Steinke to add signal accumulators so that signals · 0aef43bc
      Owen Taylor authored
      Mon Apr  2 16:41:08 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* Applied patch from Ron Steinke to add signal accumulators
      	so that signals with the convention 'TRUE return means
      	handled' stop emission on a TRUE return.
      
      	* gtk/gtkmain.[ch]: Add private accumulator
      	_gtk_boolean_handled_accumulator, used throughout GTK+.
      
      	* gtk/gtkspinbutton.c: Add accumulator for ::output.
      
      	* gtk/gtktipsquery.c: Add accumulator for ::widget_selected
      
      	* gtk/gtkwidget.c: Add accumulators for event signals,
      	::drag_motion, ::drag_drop. Use _gtk_boolean_handled_accumator
      	for ::mnemonic-activate.
      
      	* gtk/gtkwindow.c: Add accumulator for ::frame_event
      
      Mon Apr  2 16:24:21 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c: Add missing include.
      0aef43bc
    • Owen Taylor's avatar
      Fix G_VALUE_NO_COPY_CONTENTS instead of G_SIGNAL_TYPE_STATIC_SCOPE · c944151a
      Owen Taylor authored
      Mon Apr  2 10:47:57 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): Fix
      	G_VALUE_NO_COPY_CONTENTS instead of G_SIGNAL_TYPE_STATIC_SCOPE
      	stupidity.
      
      Mon Apr  2 00:51:11 2001  Owen Taylor  <otaylor@redhat.com>
      
      	[ First pass at adding style properties. Still needs some definite
      	fine-tuning. ]
      
              * gtk/gtkbutton.c: Add ::default_spacing style property.
      
      	* gtk/gtkcheckbutton.[ch] gtkradiobutton.c: Add ::indicator_size,
      	::indicator_spacing style properties.
      
      	* gtk/gtkoptionmenu.c: Add ::indicator_size, ::indicator_spacing
      	style properties.
      
      	* gtk/gtk{,h,v}paned.[ch]: Make handle_size a style property
      	rather than a normal property.
      
      	* gtk/gtkwidget.c: Add an ::interior_focus style property to
      	draw focus inside buttons, in the Windows/Java Metal/etc. style.
      
      	* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtktogglenbutton.c:
      	Honor ::interior_focus.
      
      	* gtk/gtkentry.c: Don't draw focus at all when ::interior_focus is
      	TRUE.
      
      	* gtk/gtkrange.[ch] gtk/gtk{h,v}scrollbar.c gtk/gtk{h,v}scale.c:
      	Add ::slider_width, ::trough_border, ::stepper_size,
      	::stepper_spacing style properties.
      
      	* gtk/gtkscale.[ch] Add ::slider-length style property.
      c944151a
    • Owen Taylor's avatar
      Add boxed type for GtkRequistion. Use it for ::size-request. · dac3b3a1
      Owen Taylor authored
      Sun Apr  1 21:37:22 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.[ch] gtk/gtktypeutils.c gtk/gtk-boxed.defs:
      	Add boxed type for GtkRequistion. Use it for ::size-request.
      
      	* gtk/gtkstyle.[ch] gtk/gtktypeutils.c gtk/gtk-boxed.defs:
              Add a new GtkBorder structure useful for geometry properties
      	for widgets. Add corresponding GTK_TYPE_BORDER.
      
      	* gtk/gtkwidget.c (gtk_widget_class_install_style_property):
      	Support automatic parser selection like
      	gtk_settings_install_property_parser().
      
      	* gtk/gtksettings.c (_gtk_rc_property_select_parser): Export
      	functionality for use by gtk_widget_class_install_style_property.
      	Support GTK_TYPE_BORDER, GTK_TYPE_REQUISITION.
      
      Sun Apr  1 20:48:59 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_class_init): Make invisible-char
      	g_param_spec_unichar().
      dac3b3a1
  13. 01 Apr, 2001 2 commits
    • Tim Janik's avatar
      got rid of gtk_widget_popup(), a function that bad needs to be nuked, not · 770938bf
      Tim Janik authored
      Sun Apr  1 08:00:13 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.[hc]: got rid of gtk_widget_popup(), a function that
              bad needs to be nuked, not just deprecated.
      
              * gtk/gtktooltips.c (gtk_tooltips_draw_tips): don't use
              gtk_widget_popup().
      
              * gtk/*.[hc]: s/activate_mnemonic/mnemonic_activate/g;
      
              * gtk/gtkmenufactory.[hc]: removed this long-standingly deprecated
              widget.
      
              * docs/Changes-2.0.txt: updates.
      770938bf
    • Tim Janik's avatar
      fixed a bunch of notifications, added reference counts around emissions · 1f7e5c06
      Tim Janik authored
      Sun Apr  1 03:28:14 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c: fixed a bunch of notifications, added
              reference counts around emissions where the widget is used afterwards.
              added freeze/thaws around multiple properties being notified.
              (_gtk_widget_get_aux_info): cleanups.
      
              * gtk/gtksettings.c (gtk_settings_install_property): provide
              default parsing functions for gdkcolor, enums and flags.
      
              * gtk/gtkwindow.[hc]: partially reverted patch from havoc,
              applied by owen.
              kept a flag in GtkWindowGeometryInfo to handle user
              resetting default sizes.
              cleaned up ZVT comments.
              bunch of assorted bug fixes, notification fixes.
              (_gtk_window_reposition): make this a really internal function.
      
              * gtk/testgtk.c: fixups.
      1f7e5c06
  14. 31 Mar, 2001 1 commit
  15. 30 Mar, 2001 1 commit
    • Alexander Larsson's avatar
      Remove leaks. · aa209a95
      Alexander Larsson authored
      2001-03-30  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkbutton.c (gtk_button_get_property):
      	* gtk/gtklabel.c:
      	Remove leaks.
      
      	* gtk/gtkcontainer.c:
      	* gtk/gtkhscale.c:
      	* gtk/gtkhscrollbar.c:
      	* gtk/gtklayout.c:
      	* gtk/gtkmisc.c:
      	* gtk/gtkprogress.c:
      	* gtk/gtkprogressbar.c:
      	* gtk/gtkrange.c:
      	* gtk/gtktable.c:
      	* gtk/gtkviewport.c:
      	* gtk/gtkvscale.c:
      	* gtk/gtkvscrollbar.c:
      	* gtk/gtkwidget.c:
      	Property patches, based on patches from John Margaglione and Lee Mallabone.
      aa209a95
  16. 29 Mar, 2001 2 commits
    • Owen Taylor's avatar
      Add private function to get the aux info structure fo the widget. · f67ae736
      Owen Taylor authored
      Wed Mar 28 20:30:26 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.[ch] (_gtk_widget_get_aux_info): Add private function
      	to get the aux info structure fo the widget.
      
      	* gtk/gtklabel.c gtk/gtkscrolledwindow.c gtk/gtkwindow.c: Use
      	above function.
      
              [ Patch from  Havoc Pennington  <hp@redhat.com> ]
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): function
      	to get the size of the window manager frame, basically the same
      	code that gdk_window_get_root_origin() had
      	(gdk_window_get_root_origin): use gdk_window_get_frame_extents()
      
      	* gtk/gtkwindow.c (gtk_window_set_default_size): use
      	gdk_window_resize() if the window is realized and resizeable
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): fix
      	typo so that setting gravity works
      
      	* gtk/gtkwindow.c (gtk_window_move_resize): don't ever use
      	allocation if auto_shrink is on, even if the default size
      	has not changed.
      
      	* gtk/gtkwidget.c (gtk_widget_render_icon): remove bogus
      	g_return_if_fail
      f67ae736
    • Owen Taylor's avatar
      Add missing NULL on valist. · 1586ade9
      Owen Taylor authored
      Wed Mar 28 19:20:43 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/testtext.c (create_buffer): Add missing NULL on
      	valist.
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Fix
      	c-n-p problem with INCONSISTENT property.
      
              [ Patch from Havoc Pennington  <hp@redhat.com> ]
      
      	* gtk/gtkentry.h (struct _GtkEntryClass): add same populate_popup
      	hook.
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): add populate_popup
      	signal as a hook for extending the default popup menu
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
      	use radio menu items for the input method menuitems
      
      	* gtk/gtkimcontextsimple.c (check_hex): do better validation of
      	inserted unicode from Ctrl-Shift-hex input method
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert): remove utf8
      	validatation here, already done at GtkTextBuffer level.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): add binding set, add
      	popup_menu run action signal and Shift+F10 and Menu keybindings.
      
      	* gtk/gtkentry.c: implement a default handler for popup_menu
      
      	* gtk/gtktextview.c: implement a default handler for popup_menu
      
      	* gtk/gtkmenu.c (gtk_menu_popup): select first item if popup is
      	from a key event
      
      	* gtk/gtklabel.c: remove "trailer" cruft
      1586ade9
  17. 28 Mar, 2001 1 commit
    • Owen Taylor's avatar
      Apply patch from Nils Barth fixing event return values. (#51041) · a7f29c4e
      Owen Taylor authored
      Tue Mar 27 22:36:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
      	Nils Barth fixing event return values. (#51041)
      
      	* gtk/gtkwidget.c: Fix some return values for default
      	functions.
      
      	* gtk/gtk[vh]scrollbar.c gtk/gtk[vh]range.c: Fix
      	return values for trough_keys functions.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): Fix return
      	value for add_accelerator (shoudl have been a void
      	return.)
      
      	* gtk/gtkcellrenderer.[ch]: gtkcellrenderertoggle.h:
      	Fix return type of EVENT.
      
      	* gtk/gtkmarshal.list gtk/gtktexttag.c: Make EVENT
      	signal return a boolean.
      a7f29c4e
  18. 26 Mar, 2001 1 commit
    • Owen Taylor's avatar
      Don't reference the widgets in the resulting list. (#11821) This makes · 2c613ffd
      Owen Taylor authored
      Mon Mar 26 15:48:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_list_toplevels): Don't
      	reference the widgets in the resulting list. (#11821)
      	This makes this consistent with gtk_container_children.
      
      	* gtk/gtkwindow.c gtk/gtkwidget.c: Fix up the two
      	uses of gtk_window_list_toplevels.
      2c613ffd
  19. 22 Mar, 2001 1 commit
    • Tim Janik's avatar
      some cleanups, fixed mnemonic_widget handling, added PROP_MNEMONIC_WIDGET. · c2c98d9e
      Tim Janik authored
      Thu Mar 22 13:01:44 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtklabel.[hc]: some cleanups, fixed mnemonic_widget handling,
              added PROP_MNEMONIC_WIDGET.
      
              * gtk/gtkwindow.c (gtk_window_activate_mnemonic):
              (gtk_window_remove_mnemonic):
              (gtk_window_add_mnemonic): fixed assertions.
              (gtk_window_activate_mnemonic): constrain modifier checks to those
              permitted by gtk_accelerator_get_default_mod_mask().
              got rid of gtk_window_get_default_accel_group().
      
              * gtk/gtkwidget.c (gtk_widget_real_activate_mnemonic): handle non
              activatable widgets either by focussing or a warning.
              added a signal accumulator to ::activate_mnemonic which stops the
              emission once a handler returned TRUE.
      c2c98d9e
  20. 21 Mar, 2001 1 commit
    • Alexander Larsson's avatar
      Renamed gtk_button_new_stock() to gtk_button_new_from_stock() and removed · de5eafed
      Alexander Larsson authored
      2001-03-21  Alexander Larsson  <alexl@redhat.com>
      
              * gtk/gtkbutton.[ch]:
      	* gtk/gtkdialog.c:
      	Renamed gtk_button_new_stock() to gtk_button_new_from_stock() and
      	removed accel_group argument. Renamed gtk_button_new_accel() to
      	gtk_button_new_with_mnemonic() and removed accel_group argument.
      
      	* gtk/gtkcheckbutton.[ch]:
      	New function gtk_check_button_new_with_mnemonic().
      
      	* gtk/gtkentry.c:
      	Override activate_mnemonic and just grab focus.
      
      	* gtk/gtkitemfactory.c:
      	Don't add menu uline accel group, instead use mnemonics support.
      
      	* gtk/gtklabel.[ch]:
      	New support for mnemonics.
      
      	* gtk/gtkmarshal.list:
      	Needed BOOLEAN:BOOLEAN for activate_mnemonic.
      
      	* gtk/gtkmenu.[c]:
      	* gtkmenushell.c:
      	Use mnemonics instead of accel groups for uline
      	support in menu items.
      	Removed gtk_menu_get_uline_accel_group() and
      	gtk_menu_ensure_uline_accel_group().
      
      	* gtk/gtkmenuitem.c:
      	Override activate_mnemonic to handle switching between
      	menu items if there are collisions.
      
      	* gtk/gtknotebook.c:
      	Connect to activate_mnemonic on the tab_label, so that
      	activating it switches to that notebook page.
      
      	* gtk/gtkwidget.[ch]:
      	Add activate_mnemonic signal. New function
      	gtk_widget_activate_mnemonic() to emit it.
      	Default implementation does activate/grab_focus.
      
      	* gtk/gtkwindow.[ch]:
      	Add support for mnemonics in windows.
      	New functions:
      	gtk_window_add_mnemonic, gtk_window_remove_mnemonic,
      	gtk_window_activate_mnemonic, gtk_window_set_mnemonic_modifier
      
      	* gtk/testgtk.c:
      	Update to function name changes.
      de5eafed
  21. 18 Mar, 2001 1 commit
    • Tim Janik's avatar
      added rc-style argument GtkSpinButton::shadow_type. removed · ac68581f
      Tim Janik authored
      Sun Mar 18 01:15:30 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkspinbutton.[hc]: added rc-style argument
              GtkSpinButton::shadow_type.
              removed spin_button->shadow_type, gtk_spin_button_set_shadow_type()
              and ARG_SHADOW_TYPE as it doesn' make much sense to try to override
              rc-style settings.
      
              * gtk/gtkfixed.c: removed gtk_fixed_paint() (was unused).
      
              * gtk/gtkwidget.c: quark cleanups.
      
              * gtk/gtkrc.[hc]: added gtk_rc_scanner_new() to create an rc-file
              scanner with appropriate configuration, renamed GtkRcStyleClass.clone
              to create_rc_style() (we don't do cloning in standard OO sense).
              added per rc style properties.
      
              * gtk/gtkstyle.[hc]: added code to retrive pspec conformant rc-style
              property values and for caching those. some cleanups.
      
              * gtk/Makefile.am: -DG_DISABLE_CONST_RETURNS.
      
              * gtk/gtksettings.[hc]: new file for global rc-file properties
              (at least currently, should get extended to support X properties
              and other communication mechanisms).
      
              * gtk/gtkwidget.[hc]: added style property support:
              (gtk_widget_class_install_style_property_parser): install style
              property pspec with parser function for rc-file values other
              than LONG, DOUBLE or STRING.
              (gtk_widget_class_install_style_property): same as above without
              parser (parsers are going to be needed quite infrequently).
              (gtk_widget_style_get_property): retrive style property value.
              (gtk_widget_style_get_valist): same as above with varargs support,
              has NOCOPY semantics.
              (gtk_widget_style_get): wrapper around gtk_widget_style_get_valist().
      ac68581f
  22. 16 Mar, 2001 1 commit
  23. 12 Mar, 2001 1 commit
  24. 09 Mar, 2001 2 commits
    • Tim Janik's avatar
      fixed signals with GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an · 587197ff
      Tim Janik authored
      Fri Mar  9 09:31:55 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with
              GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object,
              not a boxed.
      587197ff
    • Alexander Larsson's avatar
      Document expose event->region change and that gtk_widget_event doesn't · e7d4a7f9
      Alexander Larsson authored
      2001-03-09  Alexander Larsson  <alexl@redhat.com>
      
      	* docs/Changes-2.0.txt:
      	Document expose event->region change and that gtk_widget_event
      	doesn't allow passing expose events.
      
      	* gdk/gdkevents.h:
      	Add region to expose event.
      
      	* gdk/gdkevents.c:
      	Handle event->region in gdk_event_copy() and gdk_event_free().
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal):
      	Generate expose_event->region when creating expose events.
      
      	* gdk/x11/gdkevents-x11.c:
      	Generate expose events with regions when translating X events.
      
      	* gtk/gtkcontainer.[ch]:
      	Default expose handler that propagates expose events to NO_WINDOW
      	children. New function gtk_container_propagate_expose()
      
      	* gtk/gtkwidget.[ch]:
      	Moved gtk_widget_event implementation to gtk_widget_event_internal.
      	gtk_widget_event calls gtk_widget_event_internal but doesn't allow
      	expose events. New function gtk_widget_send_expose() to send expose
      	events. New function gtk_widget_region_intersect() to calculate
      	window/region intersections.
      
      	* gtk/gtkmain.c (gtk_main_do_event):
      	Use gdk_window_begin_paint_region() instead of gdk_window_begin_paint_rect().
      	Use gtk_widget_send_expose() to send expose events.
      
      	* gtk/gtkbin.c:
      	* gtk/gtkbox.c:
      	* gtk/gtkfixed.c:
      	* gtk/gtkimagemenuitem.c:
      	* gtk/gtklist.c:
      	* gtk/gtkpacker.c:
      	* gtk/gtktable.c:
      	* gtk/gtktree.c:
      	Remove expose handler, using the default container implementation
      	instead.
      
      	* gtk/gtkbutton.c:
      	* gtk/gtkcheckbutton.c:
      	* gtk/gtkeventbox.c:
      	* gtk/gtkfixed.c:
      	* gtk/gtkhandlebox.c:
      	* gtk/gtklayout.c:
      	* gtk/gtklistitem.c:
      	* gtk/gtkmenu.c:
      	* gtk/gtkmenubar.c:
      	* gtk/gtkmenuitem.c:
      	* gtk/gtknotebook.c:
      	* gtk/gtkoptionmenu.c:
      	* gtk/gtkpaned.c:
      	* gtk/gtkscrolledwindow.c:
      	* gtk/gtktogglebutton.c:
      	* gtk/gtktoolbar.c:
      	* gtk/gtktreeitem.c:
      	* gtk/gtkviewport.c:
      	Chain expose handler to parent class handler. Use
      	gtk_container_propagate_expose() to propagate exposes.
      
      	* gtk/gtkclist.c (check_exposures):
      	* gtk/gtktext.c (process_exposes):
      	Use gtk_widget_send_expose instead of gtk_widget_event.
      e7d4a7f9
  25. 08 Mar, 2001 1 commit
    • Owen Taylor's avatar
      Make G_CONST_RETURN. · 85af7963
      Owen Taylor authored
      Thu Mar  8 00:02:30 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.[ch] (gtk_widget_get_name): Make
      	G_CONST_RETURN.
      
      	* gtk/gtkwidget.[ch] gtk/gtkprivate.h: Add a
      	::hierarchy-changed signal when a widget changes
      	from anchored to unanchored or vice versa.
      	(anchored means
      	 gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW) != NULL.)
      	Use a private flag to keep track of this efficiently.
      85af7963
  26. 07 Mar, 2001 1 commit
    • Tim Janik's avatar
      marshaller fixes. · 35af5c4e
      Tim Janik authored
      Wed Mar  7 13:24:57 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/*.c: marshaller fixes.
      
              * gtk/gtkmarshal.list: extreme cleanup.
      
              * gtk/gtktreeview.c (gtk_tree_view_class_init): disable interface
              param spec for now.
      
              * gtk/gtktexttag.c (gtk_text_tag_set_property): use g_value_get_boxed()
              where appliable.
      
              * gtk/gtktypeutils.[hc]: updates to GLib API changes.
              special cased autogenerated boxed types from gtktypebuiltins_ids.c
              which are not reference counted:
              GtkSelectionData, GdkEvent, GdkColor, GtkTextIter, PangoTabArray,
              PangoFontDescription, GtkTreeIter and GtkTreePath.
      
      Thu Mar  1 03:58:56 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktreeselection.h:
              * gtk/gtktreemodel.c:
              * gtk/gtktreedatalist.[hc]: fixed includes. no gobject/*
              file should be included directly, and gobject/gmarshal.h
              as well as gtk/gtkmarshal.h even can't be included directly.
      
              * Makefile.am: grr, install gtk-config-2.0.
      
              * gtk/testgtk.c:
              * gtk/simple.c:
              * gtk/gtkmenu.c:
              * gtk/gtkitemfactory.c: use g_object_connect() instead of
              passing "*signal*::*" args to gtk_widget_set().
      
              * gtk/gtktypeutils.[hc]: got rid of GTK_TYPE_SIGNAL.
      
              * gtk/*.c: removed trailer arg from property setters and getters.
              macro fixups.
      
      Thu Mar  1 04:01:57 2001  Tim Janik  <timj@gtk.org>
      
              * test-gdk-pixbuf.c: fixed includes.
      35af5c4e
  27. 06 Mar, 2001 1 commit
  28. 28 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      Remove draw_focus and draw_default (gtk_widget_draw_focus): remove this · 56a2f2c6
      Havoc Pennington authored
      2001-02-28  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove draw_focus and
      	draw_default
      	(gtk_widget_draw_focus): remove this function; we could instead
      	make it just gtk_widget_draw(), but in most cases I think the
      	result would be broken user code, so think it's better to have
      	that code not compile and get fixed
      	(gtk_widget_draw_default): ditto
      
      	* gtk/gtkwidget.c: Add default handlers for focus_in_event and
      	focus_out_event that set/unset GTK_HAS_FOCUS and call queue_draw
      
      	* gtk/gtkwindow.c (gtk_window_set_default): just queue a draw when
      	widgets lose/get the default, instead of calling draw_default
      
      	* docs/Changes-2.0.txt: note about all this
      
      	Then fixed every widget in GTK, I won't list all the filenames.
      56a2f2c6
  29. 27 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      test the window state stuff · 75d79abf
      Havoc Pennington authored
      2001-02-26  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testgtk.c: test the window state stuff
      
      	* gtk/gtkwindow.c (gtk_window_present): new function, makes a
      	window come to the user's attention as if it were just created
      	(gtk_window_iconify): new function
      	(gtk_window_deiconify): new function
      	(gtk_window_stick): new function
      	(gtk_window_unstick): new function
      	(gtk_window_maximize): new function
      	(gtk_window_unmaximize): new function
      
      	* gtk/gtkwidget.h, gtk/gtkwidget.c: add window_state_event signal
      
      	* gtk/gtkmain.c (gtk_main_do_event): handle GDK_WINDOW_STATE
      
      	* gdk/x11/gdkevents-x11.c: create window state events when
      	appropriate
      	(gdk_wmspec_supported): new function
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_iconify): handle
      	iconification before showing the window
      	(gdk_window_deiconify): new function
      	(gdk_window_stick): new function
      	(gdk_window_unstick): new function
      	(gdk_window_maximize): new function
      	(gdk_window_unmaximize): new function
      
      	* gdk/gdkwindow.c: store the window state in the window;
      	change to using the GDK_WINDOW_STATE_WITHDRAWN flag instead of
      	window->mapped.
      	(gdk_window_get_state): return the current window state
      
      	* gdk/gdkevents.c (gdk_event_get_time): handle GDK_WINDOW_STATE
      	(gdk_event_get_state): handle GDK_WINDOW_STATE
      	(gdk_synthesize_window_state): function to create the window state
      	events
      
      	* gdk/gdkevents.h (struct _GdkEventWindowState): new type of
      	event, for changes to "window state" such as maximized, sticky,
      	etc.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_focus): new function,
      	focuses a window
      
      	* gdk/x11/gdkmain-x11.c (_gdk_wmspec_supported): new function,
      	finds out if we support a given WM spec hint
      75d79abf
  30. 03 Feb, 2001 1 commit
  31. 04 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      Adapt to uscore-ification of gtktextiterprivate · c7826b5f
      Havoc Pennington authored
      2001-01-03  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c: Adapt to uscore-ification of gtktextiterprivate
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): remove use
      	of private functions; remove inclusion of private headers.
      
      	* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_line): Add this
      	function, so we don't need private functions in gtktextdisplay.c
      
      	* gtk/gtktextiterprivate.h: underscore-ification
      
      	* gtk/gtkwidget.c: Clean up a bunch of docs that said "INTERNAL"
      	to instead say "only useful to implement widgets"
      
      	* gtk/gtkenums.h (GtkMovementStep): Rename GTK_MOVEMENT_CHARS,
      	GTK_MOVEMENT_POSITIONS to GTK_MOVEMENT_LOGICAL_POSITIONS,
      	GTK_MOVEMENT_VISUAL_POSITIONS. Resolves bug 40249.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_set_colormap):
      	This function was completely broken
      
      	* gtk/testtext.c (line_numbers_expose): use gtk_paint_layout
      
      	* gtk/gtkvscale.c (gtk_vscale_draw_value): use gtk_paint_layout
      
      	* gtk/gtkvruler.c (gtk_vruler_draw_ticks): use gtk_paint_layout
      
      	* gtk/gtklabel.c (gtk_label_expose): use gtk_paint_layout
      
      	* gtk/gtkhscale.c (gtk_hscale_draw_value): use gtk_paint_layout
      
      	* gtk/gtkhruler.c (gtk_hruler_draw_ticks): use gtk_paint_layout
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): use
      	gtk_paint_layout
      
      	* gtk/gtkaccellabel.c (gtk_accel_label_expose_event): use
      	gtk_paint_layout
      
      	* gtk/gtkstyle.h: Add draw/paint expander to draw tree expanders.
      	Progress on bug 40103. Add draw_layout to draw a PangoLayout.
      	(struct _GtkStyleClass): Remove draw_cross, draw_oval, draw_ramp,
      	which were not implemented.
      
      	* gtk/gtktextbuffer.h (struct _GtkTextBufferClass): Add
      	insert_pixbuf signal. Rename delete_text to delete_range since it
      	also deletes pixbufs and child anchors. This almost closes bug
      	40245 (still need to deal with child anchors)
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Add
      	insert_pixbuf, change signal names as appropriate, change types of
      	signals taking marks/tags to have the specific type, not just
      	G_TYPE_OBJECT
      
      	* gtk/gtkmain.c (gtk_get_current_event_state): Add this function;
      	closes bug 40051
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_set_history): clean up
      	unnecessary remove_contents() call
      	(gtk_option_menu_class_init): add a "changed" signal, closes
      	bug 40039
      	(gtk_option_menu_update_contents): emit "changed" if the
      	active menu item changes
      
      	* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done): fix bad
      	cast to GtkObject, reported by Jonas Borgstrom
      	(gdk_pixbuf_loader_finalize): don't close the loader on finalize;
      	we can't do stuff with side effects in finalize. Instead, spew a
      	warning if the loader isn't closed.
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_drawable_impl_x11_finalize): free
      	colormap in here, non-X ports probably need to sync to this change
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_x11_set_colormap): remove
      	assertion that colormap != NULL, you can set the colormap to NULL
      	if you like.
      
      	* Makefile.am: remove gtk-config-2.0
      
      	* configure.in: Use pkg-config to locate GLib. Remove
      	separated-out GMODULE_LIBS, GMODULE_CFLAGS; these were not used,
      	and the gmodule libs/cflags were in GLIB_LIBS GLIB_CFLAGS anyhow.
      	Use pkg-config to locate Pango. Output correct Pango libs to
      	gdk-2.0.pc.in. Fix test for FREETYPE_CONFIG (typo fix).
      
      	* Makefile.am (pkgconfig_DATA): install only target-specific pc
      	files
      	(install-data-local): symlink gtk+-2.0.pc and gdk-2.0.pc to the
      	X11 pc files
      
      	* gtk+-2.0.pc.in (Requires): require the GDK for the current target
      	unref from here
      c7826b5f
  32. 13 Dec, 2000 1 commit
    • Tim Janik's avatar
      doh, this was broken beyond believe. · 2c9eb3a5
      Tim Janik authored
      Tue Dec 12 23:46:44 2000  Tim Janik  <timj@gtk.org>
      
      	* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
      
      	* gtk/gtkbox.c: change property types from (u)long to (u)int for
      	::position and ::padding.
      
      	* gtk/gtkcontainer.c: make ::border_width an INT property.
      
      	* gtk/gtkpacker.c: make ::position an INT property.
      
      	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
      	guard against NULL h/v scrollbars, since this is used at construction
      	time.
      
      	* gtk/gtkclist.[hc]: nuked gtk_clist_construct(), implemented
      	internal gtk_clist_constructor().
      
      	* gtk/gtkctree.[hc]: nuked gtk_ctree_construct(), implemented
      	gtk_ctree_constructor().
      
      	* gtk/gtkprogressbar.c (gtk_progress_bar_class_init): property
      	::pulse_step should use ARG_PULSE_STEP, not ARG_FRACTION.
      
      	* docs/reference/Makefile.am: fun stuff, disabled docs generation
      	again, gtk-scan.c needs to introspec paramspecs, not GtkAgs.
      
      	* gtk/gtkwidget.[hc]:
      	removed gtk_widget_setv(), gtk_widget_getv(), gtk_widget_newv()
      	and gtk_widget_get().
      	(gtk_widget_new): use g_object_new_valist().
      	(gtk_widget_set): use g_object_set_valist().
      
      	* gtk/gtkobject.[hc]:
      	removed gtk_object_arg_get_info(), gtk_object_getv(),
      	gtk_object_query_args(), gtk_object_newv(),
      	gtk_object_class_add_signals(),
      	gtk_object_class_user_signal_new(),
      	gtk_object_class_user_signal_newv(),
      	gtk_object_arg_set(), gtk_object_arg_get(),
      	gtk_object_args_collect(),
      	gtk_object_default_construct(),
      	gtk_object_constructed(),
      	GTK_CONSTRUCTED and GTK_OBJECT_CONSTRUCTED().
      	removed nsignals, signals and n_args members from GtkObjectClass.
      	(gtk_object_new): use g_object_new_valist().
      	(gtk_object_set): use g_object_set_valist().
      	(gtk_object_get): use g_object_get_valist().
      
      	* gtk/gtkcompat.h: define gtk_object_default_construct().
      
      	* gtk/gtktypeutils.c (gtk_type_new): create constructed objects via
      	g_object_new().
      
      	* gtk/*.c: removed gtk_object_class_add_signals() from class_init()
      	fucntions, cleaned up method assignments (make sure your structures
      	are setup properly before calling out). removed all GTK_CONSTRUCTED
      	hacks ;)
      2c9eb3a5