1. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  2. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  3. 26 Mar, 2005 1 commit
  4. 22 Mar, 2005 1 commit
  5. 21 Mar, 2005 1 commit
  6. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  7. 09 Mar, 2005 1 commit
  8. 01 Feb, 2005 1 commit
  9. 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
  10. 06 Mar, 2004 1 commit
  11. 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
  12. 20 Jul, 2003 1 commit
    • Hans Breuer's avatar
      new file to build it all ... added to EXTRA_DIST · 364272b5
      Hans Breuer authored
      2003-07-20  Hans Breuer  <hans@breuer.org>
      
      	* makefile.msc : new file to build it all
      	* Makefile.am : ... added to EXTRA_DIST
      
      	* gdk/makefile.msc gtk/stock-icons/makefile.msc
      	  gtk/makefile.msc.in tests/makefile.msc : updated
      
      	* gdk/gdk.def gtk/gtk.def : export a bunch of new
      	functions
      
      	* gtk/gtkbbox.c : use g_return_val_if_fail() if
      	there is a value to return
      
      	* gtk/gtkfontsel.c gtk/gtkiconfactory.c :
      	static correctness
      
      	* gtk/gtkicontheme.c : ported to use GTimeVal instead of
      	struct timeval and GTK_DATA_PREFIX instead of GTK_DATADIR
      
      	* gtk/gtkicontheme.c : use HAVE_LC_MESSAGES
      
      	* gtk/gtkimmulticontext.c : use gtkprivate.h
      
      	* gtk/stock-icons/stock_color_picker_25.png
      	  gtk/stock-icons/stock_jump_to_rtl_16.png
      	  gtk/stock-icons/stock_jump_to_rtl_24.png
      	  gtk/stock-icons/stock_redo_rtl_16.png
      	  gtk/stock-icons/stock_redo_rtl_24.png
      	  gtk/stock-icons/stock_undelete_rtl_16.png
      	  gtk/stock-icons/stock_undelete_rtl_24.png
      	  gtk/stock-icons/stock_undo_rtl_16.png :
      	  gtk/stock-icons/stock_undo_rtl_24.png :
      	readded as binary
      364272b5
  13. 18 Jul, 2003 1 commit
    • Matthias Clasen's avatar
      New function. (#64562) · 1fd4cd2f
      Matthias Clasen authored
      2003-07-19  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkbbox.h:
      	* gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New function. (#64562)
      1fd4cd2f
  14. 04 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 2aa89914
      Manish Singh authored
      Fri Oct  4 15:47:06 2002  Manish Singh  <yosh@gimp.org>
      
              * gtkbbox.[ch] gtkhbbox.[ch] gtkhscale.[ch] gtkscale.[ch]
              gtkvscale.[ch] gtkvbbox.[ch]: Deprecation cleanup
      2aa89914
  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. 30 Jan, 2002 1 commit
  18. 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
  19. 27 Oct, 2001 1 commit
    • Hans Breuer's avatar
      to simplify parsing for exported functions: - made implementation · e2e69403
      Hans Breuer authored
      2001-10-27  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c
      	  gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c
      	  gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c
      	  gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c
      	  gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c
      	  gtk/gtktreestore.c gtk/gtkvbbox.c :
      	to simplify parsing for exported functions:
      	- made implementation signature static, when the local
      	  prototype already was
      	- put the functions return value on it's own line
      	- added as space between the function name and the
      	  opening bracket
      
      	* gtk/gtk.def : added the remaining exported functions
      e2e69403
  20. 18 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Matthias Clasen to remove remove all instances of · 4e2b60ac
      Owen Taylor authored
      Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/*.c: Patch from Matthias Clasen to remove remove
      	all instances of g_return_if_fail (foo != NULL); that are
      	immediately before a g_return_if_fail (GTK_IS_FOO (foo));
      	since the second check catches the NULL anyways.
      4e2b60ac
  21. 06 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Gregory Merchan to add gtk_button_box_set_secondary(), which · 0b6c3f54
      Owen Taylor authored
      Thu Jul  5 21:53:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkbbox.[ch] gtk/gtkbox.[ch] gtk/gtk[hv]bbox.c:
      	Patch from Gregory Merchan to add
      	gtk_button_box_set_secondary(), which separates
      	the child into a separate group from the normal
      	buttons. (#56331)
      
      	* gtk/gtkdialog.c: Make help buttons secondary by
      	default.
      
      	* gtk/gtkbbox.c: Added a child property "secondary".
      
      	* gtk/testgtk.c: Turn on the help button for the
      	color selector to check that it properly appears
      	as secondary.
      0b6c3f54
  22. 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
  23. 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
  24. 28 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      fix warning · 7e9b154f
      Havoc Pennington authored
      2001-04-27  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_init): make messages selectable
      
      	* gtk/gtkentry.c (gtk_entry_real_insert_text): don't strip
      	line/para separators
      	(gtk_entry_create_layout): set single paragraph mode on the layout
      
      	* gtk/gtkbutton.c (gtk_button_new_from_stock): don't put much
      	spacing between the image and label; instead, inside a button box
      	the button will get extra space that will go there, but if people
      	configure button box for 0 chubbiness, then there's no spacing.
      
      	* gtk/gtkbbox.c (gtk_button_box_class_init): Make child ipadding
      	and min/max size style properties, so people can tune their
      	chubbiness.
      
      	* tests/testgtk.c (make_toolbar): remove calls to removed toolbar
      	functions
      
      	* gtk/gtktoolbar.c (gtk_toolbar_class_init): Make space_size,
      	space_style, and button_relief into style properties, remove
      	functions for setting them
      
      	* gtk/gtkmenu.c (gtk_menu_key_press): handle menu bar accel to pop
      	it back down
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): free boxed
      	types from gtk_widget_style_get
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_set_shadow_type): Remove, replace
      	with a style property.
      
      	* gdk/x11/gdkevents-x11.c: namespace the settings
      
      	* gtk/gtkmenubar.c: Add F10 accelerator to move between menubars.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): remove code with
      	side effects from inside g_assert(), so that G_DISABLE_ASSERT can
      	be used. Also, translate doc strings for settings. Also, namespace
      	the double-click-time property. Also, remove bell properties crap.
      7e9b154f
  25. 07 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      new function, turns off decorations for a window. · 9d1e2a13
      Havoc Pennington authored
      2001-03-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_set_decorated): new function, turns
      	off decorations for a window.
      
      	* demos/gtk-demo/button_box.c (create_bbox): adapt to button box
      	changes
      
      	* gtk/gtklabel.c (gtk_label_get_layout_offsets): new function
      	to get location of PangoLayout inside the label, closes #51198
      
      	* gtk/testgtk.c (create_bbox): fix up button box usage
      
      	* gtk/testcalendar.c (create_calendar): fix up button box usage
      
      	* gtk/gtkfilesel.c (gtk_file_selection_init): fixup buttonbox usage
      
      	* gtk/gtkdialog.c (gtk_dialog_init): fixup buttonbox usage
      
      	* gtk/gtkhbbox.h: deprecations
      
      	* gtk/gtkvbbox.h: deprecations
      
      	* gtk/gtkbox.c (gtk_box_get_spacing): new function, used to
      	emulate deprecated gtk_button_box_get_spacing
      
      	* gtk/gtkbbox.h: deprecate some useless functions, remove entirely
      	the "set global default" functions
      	(struct _GtkButtonBox): remove "spacing" field, use the one from
      	GtkBox base class
      
      	* gtk/gtkbbox.c (_gtk_button_box_child_requisition): rename with uscore
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): If we fail to
      	render the icon, return the missing image icon.
      
      	* gtk/gtkimage.c (gtk_image_set_from_file): fall back to missing
      	image icon if the load fails.
      
      	* gtk/gtkstock.h (GTK_STOCK_MISSING_IMAGE): Add stock icon for use
      	when no image is found; should be the Netscape "missing image"
      	icon eventually but for now is a random image
      
      	* gtk/gtkwindow.c (gtk_window_set_role): new function, sets the
      	role for the session manager
      
      	* gtk/testgtk.c (dnd_drop): remove use of GTK_WINDOW_DIALOG
      
      	* gtk/gtkcompat.h (GTK_WINDOW_DIALOG): compat #define
      	GTK_WINDOW_DIALOG GTK_WINDOW_TOPLEVEL
      
      	* gtk/gtkenums.h (enum GtkWindowType): remove GTK_WINDOW_DIALOG
      9d1e2a13
  26. 26 Jul, 2000 1 commit
  27. 24 Feb, 1999 1 commit
  28. 30 Nov, 1998 1 commit
    • Elliot Lee's avatar
      I submitted this patch twice to gtk-devel-list, and received no comments, · 060978e0
      Elliot Lee authored
      
      
      I submitted this patch twice to gtk-devel-list, and received no comments, so
      am committing it.  Although not exhaustively tested, I have been using this
      gtk+ for a week w/o problems, and I did read the code to ensure that nothing
      ever writes to these data structures. If by chance people encounter SEGV's in
      gtk+ code that is setting values in global data structures, this patch could
      be a possible culprit.
      
      1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
      
      	* {gdk,gtk}/*.c: Make read-only data structures "static const" to
      	allow them to be shared, mainly including (but not limited to) the
      	GtkTypeInfo structures for each class.
      
      	* gtk/gtkfilesel.c: Add /net to the "leave me alone" directory listing.
      060978e0
  29. 04 Jul, 1998 1 commit
  30. 28 Jun, 1998 1 commit
    • Tim Janik's avatar
      call the base class init fucntions from all parent types upon class · e63d08e4
      Tim Janik authored
      Sun Jun 28 04:29:10 1998  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
      	fucntions from all parent types upon class initialization.
      
      	* gtk/gtkcontainer.c:
       	(gtk_container_get_type): announce gtk_container_base_class_init to
       	the type system.
      	(gtk_container_base_class_init): new function to feature base class
      	initialization.
      	(gtk_container_get_child_arg):
      	(gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
      	and set_child_arg methods of the class indicated through the argument
      	name.
      
      	* gtk/gtkobject.c:
      	(gtk_object_base_class_init): new function to feature base class
       	initialization.
      	(gtk_object_init_type): announce gtk_object_base_class_init to the type
      	system.
      	(gtk_object_class_init): setup the get_arg and set_arg pointers for
      	GtkObjectClass.
      	(gtk_object_setv):
       	(gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
       	instead of bothering the type system with this.
      
      	* gtk/gtkaccellabel.c:
      	* gtk/gtkbutton.c:
      	* gtk/gtkradiobutton.c:
      	* gtk/gtktable.c:
      	* gtk/gtktogglebutton.c:
      	* gtk/gtktipsquery.c:
      	* gtk/gtkbox.c:
      	* gtk/gtkpacker.c:
      	* gtk/gtkwidget.c:
      	* gtk/gtkwindow.c:
      	* gtk/gtkframe.c:
      	* gtk/gtkmisc.c:
      	* gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
      	corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
      	functions wrt GtkTypeInfo initialization. changed a lot of the set/get
      	arg functions to take a GtkObject argument.
      
      	gtk/gtkadjustment.c:
      	gtk/gtkalignment.c:
      	gtk/gtkarrow.c:
      	gtk/gtkaspectframe.c:
      	gtk/gtkbbox.c:
      	gtk/gtkbin.c:
      	gtk/gtkcheckbutton.c:
      	gtk/gtkcheckmenuitem.c:
      	gtk/gtkclist.c:
      	gtk/gtkcolorsel.c:
      	gtk/gtkcombo.c:
      	gtk/gtkctree.c:
      	gtk/gtkcurve.c:
      	gtk/gtkdata.c:
      	gtk/gtkdialog.c:
      	gtk/gtkdrawingarea.c:
      	gtk/gtkeditable.c:
      	gtk/gtkentry.c:
      	gtk/gtkeventbox.c:
      	gtk/gtkfilesel.c:
      	gtk/gtkfixed.c:
      	gtk/gtkfontsel.c:
      	gtk/gtkgamma.c:
      	gtk/gtkhandlebox.c:
      	gtk/gtkhbbox.c:
      	gtk/gtkhbox.c:
      	gtk/gtkhpaned.c:
      	gtk/gtkhruler.c:
      	gtk/gtkhscale.c:
      	gtk/gtkhscrollbar.c:
      	gtk/gtkhseparator.c:
      	gtk/gtkimage.c:
      	gtk/gtkinputdialog.c:
      	gtk/gtkitem.c:
      	gtk/gtkitemfactory.c:
      	gtk/gtklist.c:
      	gtk/gtklistitem.c:
      	gtk/gtkmenu.c:
      	gtk/gtkmenubar.c:
      	gtk/gtkmenuitem.c:
      	gtk/gtkmenushell.c:
      	gtk/gtknotebook.c:
      	gtk/gtkoptionmenu.c:
      	gtk/gtkpaned.c:
      	gtk/gtkpixmap.c:
      	gtk/gtkpreview.c:
      	gtk/gtkprogressbar.c:
      	gtk/gtkradiomenuitem.c:
      	gtk/gtkrange.c:
      	gtk/gtkruler.c:
      	gtk/gtkscale.c:
      	gtk/gtkscrollbar.c:
      	gtk/gtkscrolledwindow.c:
      	gtk/gtkseparator.c:
      	gtk/gtkspinbutton.c:
      	gtk/gtkstatusbar.c:
      	gtk/gtktext.c:
      	gtk/gtktoolbar.c:
      	gtk/gtktooltips.c:
      	gtk/gtktree.c:
      	gtk/gtktreeitem.c:
      	gtk/gtkvbbox.c:
      	gtk/gtkvbox.c:
      	gtk/gtkviewport.c:
      	gtk/gtkvpaned.c:
      	gtk/gtkvruler.c:
      	gtk/gtkvscale.c:
      	gtk/gtkvscrollbar.c:
      	gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
      	match the modified GtkTypeInfo structure.
      e63d08e4
  31. 07 Jun, 1998 1 commit
    • Tim Janik's avatar
      fixed an assertment. · a391196b
      Tim Janik authored
      Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
      
              * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
              this should eventually be done by gentypeinfo.el somewhen.
              * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
      
              * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
              enum values of an enum type.
      
              * gtk/gtk.defs:
              * gtk/gtkcurve.h:
              * gtk/gtkobject.h:
              * gtk/gtkprivate.h:
              * gtk/gtkwidget.h:
              * gtk/gtkenums.h:
              brought enum/flags definitions in sync, added a few more enum
              definitions for bindings and pattern matching.
      
              * some more macro and GtkType fixups in various places.
      
              * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
              as a key-release modifier for the binding system.
      
      Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
              was a stale list pointer that is already present in GtkMenuShell.
      
              * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
              GtkMenuShell::selection_done which is emitted after the menu shell
              poped down again and all possible menu items have been activated.
      
      Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
              before activation of the menuitem, so the menu is actually taken off the
              screen prior to any menu item activation.
      
              * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
              for NULL nodes.
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
              the emission of the "add-accelerator" signal on a widget. this is
              usefull to prevent accelerator installation on certain widgets.
      
              * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
              labels left justified, by setting their alignment. stop accelerator
              installation for the menu items, since we use dynamic menus.
      
      Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
              should *really* use GtkItemFactory. this is only for preserving source
              compatibility where possible, use of GtkMenuFactory is deprecated as of
              now.
      
              * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
              to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
              missed this possibility when i added gtk_object_class_add_user_signal
              in late january.
      
              * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
      
      Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkaccelgroup.h:
              * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
      
              * gtk/gtkaccellabel.h:
              * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
              display of the accelerators associated with a certain widget.
      
              * gtk/gtkitemfactory.h:
              * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
              parsing and accelerator handling.
      
              * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
              positioning a menu.
              (gtk_menu_map): removed the allocation code.
              (gtk_menu_size_allocate): care for redrawing of children and resize
              our widget->window correctly.
              (gtk_menu_key_press): feature the new accelerator groups.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
              submenu if neccessary.
      
              * gtk/gtkmenuitem.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
              function variants.
      
              * gdk/gdk.c:
              (gdk_keyval_from_name):
              (gdk_keyval_name): new functions for keyval<->key-name associations.
              (gdk_keyval_to_upper):
              (gdk_keyval_to_lower):
              (gdk_keyval_is_upper):
              (gdk_keyval_is_lower): new functions to check/translate keyvalues with
              regards to their cases.
      
      Wed May 27 00:48:10 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
              widget's class path.
              (gtk_widget_path): new function to calculate a widget's name path.
      
              * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
              pattern matching, features reversed pattern matches.
      a391196b
  32. 03 May, 1998 1 commit
    • Owen Taylor's avatar
      configure.in acheader.h gdk/gdkwindow.c Check for Shape extension both on · 4851efe2
      Owen Taylor authored
      Sun May  3 13:38:22 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* configure.in acheader.h gdk/gdkwindow.c
      	Check for Shape extension both on the client and server
      	side. (And, more importantly, check for the shape extension
      	so we may include -lXext even when compiling with --disable-xshm)
      
      	Don't set override_redirect on all shaped windows. It isn't
      	necessary.
      
      	* gdk/gdkwindow.c: Set ->colormap to NULL for root
      	and foreign windows. Use this to check if we
      	need to get the colormap from X.
      
      Fri May  1 22:32:47 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkbutton.c (gtk_button_paint): Draw the areas
      	between the default and the button always in GTK_STATE_NORMAL.
      
      	* gtk/gtkrange.c (gtk_range_style_set): Added a style_set
      	callback.
      
      Fri May  1 16:40:57 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
      	  Fix a buffer overflow on pixmaps that claim to have
      	  more than 31 characters per pixel.
      
      	  (gdk_pixmap_read_string): Don't wrap around strings longer
       	  than half of address space ;-)
      
      	* gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
      	that were used for printing integers.
      
      	* */* (almost):
      
      	Style: All
      	  int foo () { ... }
      	changed to
      	  int foo (void) { ... }
      
      ^^^^^^^ This is why some many files changed
      
      	Even where there were proper prototypes elsewhere.
      
      	* gdk/gxid.c (handle_claim_device): Some extra checks.
      	It isn't safe against being fed bad X id's, but at
      	least it should be safe against deleting all your
      	files.
      4851efe2
  33. 13 Apr, 1998 1 commit
  34. 25 Feb, 1998 1 commit
    • Owen Taylor's avatar
      Move layout constants into an enumeration, split GTK_BUTTONBOX_DEFAULT · 77715991
      Owen Taylor authored
      Wed Feb 25 13:18:53 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkbbox.[ch] gtk/gtkhbox.[ch] gtk/gtkvbox.[ch] :
      
      	Move layout constants into an enumeration, split
      	GTK_BUTTONBOX_DEFAULT into GTK_BUTTONBOX_DEFAULT
      	and GTK_BUTTONBOX_DEFAULT_STYLE (enumeration member).
      
      	* gtk/gtkclist.c:
      
      	Renamed gtk_clist_row_isvisable to .._is_visible
      
      	From: Maciej Stachowiak <mstachow@mit.edu>
      77715991
  35. 16 Jan, 1998 1 commit
  36. 24 Nov, 1997 1 commit