1. 05 Oct, 2002 1 commit
    • Manish Singh's avatar
      deprecation cleanup · 8b6a832f
      Manish Singh authored
      Sat Oct  5 16:11:22 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkmisc.[ch] gtk/gtklabel.[ch] gtk/gtkimage.[ch]
              gtk/gtkdrawingarea.[ch] gtk/gtknotebook.[ch]: deprecation cleanup
      8b6a832f
  2. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c
  3. 29 Aug, 2001 1 commit
    • Havoc Pennington's avatar
      add default icon · 9df00746
      Havoc Pennington authored
      2001-08-28  Havoc Pennington  <hp@pobox.com>
      
      	* demos/gtk-demo/main.c (setup_default_icon): add default icon
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_new_with_mnemonic):
      	warning fix
      	(gtk_radio_button_new_with_label): warning fix
      
      	* gtk/gtkdnd.c: used some random GtkImage private structs,
      	update to reflect GtkImage changes
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): don't check
      	whether the hint is supported, just always set the icon. A task
      	list might want to use it even if the WM doesn't, and the WM may
      	change over time. Also, XDeleteProperty() if list == NULL.
      
      	* gtk/gtkwindow.c (gtk_window_set_icon_list)
      	(gtk_window_get_icon_list)
      	(gtk_window_set_icon)
      	(gtk_window_get_icon)
      	(gtk_window_set_default_icon_list)
      	(gtk_window_get_default_icon_list):
      	new functions
      
      	* gtk/gtk-boxed.defs (GtkIconSet): add GtkIconSet
      
      	* gtk/gtkimage.c: Implement property support, bug #59408
      
      	* gtk/gtkcontainer.c (gtk_container_add): make the warning message
      	on reparent-without-removing-first a bit more helpful.
      	Let's just destroy this FAQ.
      9df00746
  4. 25 Aug, 2001 1 commit
    • Owen Taylor's avatar
      Break compatibility and make gtk_image_new() take no arguments. The · 8de6598f
      Owen Taylor authored
      Fri Aug 24 23:09:05 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimage.[ch] docs/Changes-2.0.txt: Break compatibility
      	and make gtk_image_new() take no arguments. The compiler will
      	catch it, and it is vastly more useful than having
      	gtk_image_new() be a deprecated alias for gtk_image_new_from_image().
      
      	* gtk/gtkmenu.c (gtk_menu_set_property): Apply patch
      	to add tearoff-title property (#51319, Lee Mallabone)
      8de6598f
  5. 07 May, 2001 1 commit
    • Havoc Pennington's avatar
      fix some shell typos · b4e4a0ed
      Havoc Pennington authored
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: fix some shell typos
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix
      
      	* gtk/gtkimage.c: handle animations
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
      	border_width * 2, not just border_width
      
      	* gtk/gtkscale.c: add "format_value" signal to allow people
      	to override the way values are drawn.
      	(gtk_scale_get_value_size): fix width/height mistake,
      	and compute size from actual displayed text, not
      	from made-up text.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
      	signal registration
      
      	* tests/testtext.c: Add "Remove all tags" menu item for testing
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement
      
      	* demos/gtk-demo/main.c (main): add hack so we can find modules
      	without installing gtk
      
      	* demos/gtk-demo/textview.c (insert_text): demo font scaling
      
      	* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
      	factor)
      	(gtk_cell_renderer_text_set_property): remove some bogus
      	g_object_notify
      
      	* gtk/gtktexttag.c: add "scale" property which is a font scaling
      	factor
      
      	* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
      	to layout
      
      	* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
      	gtk_text_iter_is_first
      
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* pixops/pixops.c (pixops_process): merge fix from stable: Patch
      	 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
      	 bug #50371.
      
              * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
      	from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
      	confusion of using "src" instead of "p".
              (pixops_composite_color_nearest): Use a more accurate (and
      	correct, to begin with) compositing method.  This cures checks
      	showing through on images with no alpha.
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
      	bytes unfilled.
      
      	* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints
      
      	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
      	area_updated signal to use signed ints.  Removed animation-related
      	signals.
      
      	* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
      	rewrite action
      
      	* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
      	all the pesky details. Remove old frame-based API. Make
      	GdkPixbufAnimation an abstract base class, derived by the loaders.
      b4e4a0ed
  6. 12 Mar, 2001 1 commit
  7. 03 Feb, 2001 1 commit
  8. 26 Sep, 2000 1 commit
    • Havoc Pennington's avatar
      Move more text widget headers into the private header list · e8597130
      Havoc Pennington authored
      2000-09-26  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/Makefile.am (gtk_private_h_sources): Move more text widget
      	headers	into the private header list
      
      	* Makefile.am (pkgconfig_DATA): install pkg-config files
      
      	* configure.in: add pkg-config files
      
      	* gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files
      
      	* gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate
      	outstanding icon caches on theme change.
      
      	* gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three
      	important types:
      
      	(GtkIconSource): Specification for creating a pixbuf
      	appropriate for a direction/state/size triplet from
      	a source pixbuf or filename
      
      	(GtkIconSet): List of GtkIconSource objects that are used to
      	create the "same" icon (e.g. an OK button icon), and cache for
      	rendered icons
      
      	(GtkIconFactory): Hash from stock ID to GtkIconSet; used to look
      	up the icon set for a given stock ID.  GTK maintains a stack of
      	GtkIconFactory to search, and applications or libraries can add
      	additional icon factories on top of the stack
      
              * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse
      	the set of GtkIconSource specified for a given stock ID into
      	a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the
      	RcStyle, under the specified stock ID.
      
      	* gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function
      	render_icon used to derive a GdkPixbuf from a GtkIconSource.
      	This allows people to theme how prelight, insensitive, etc. are
      	done.
      
      	(gtk_style_lookup_icon_set): Look up a stock ID in the list of
      	icon factories for a style, and return the resulting
      	icon set if any.
      
      	(gtk_style_render_icon): Render an icon using the render_icon
      	method in the GtkStyleClass.
      
      	* gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon):
      	Use the style for a given widget to look up a stock ID, get the
      	icon set, and render an icon using the render_icon method
      	of the style
      
      	* gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type
      	(contains information about a stock item), the built-in stock item
      	IDs, and functions to add/lookup stock items.
      
      	* gtk/stock-icons/*: Stock icons that come with GTK
      
      	* gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns
      	a button based on a GtkStockItem
      	(gtk_button_new_accel): Takes a uline string and accel group, and
      	installs the accelerator.
      
      	* gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic
      	image-display widget.
      e8597130
  9. 30 Aug, 2000 1 commit
  10. 26 Jul, 2000 1 commit
  11. 13 Feb, 2000 1 commit
    • Tim Janik's avatar
      s/refcount/ref_count/. · ef03cb52
      Tim Janik authored
      Sun Feb 13 08:54:45 2000  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
              * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
              * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
              * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
              parameters given and cursor->ref_count. coding style fixups.
      
              * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
              not GtkWidget.
      
              * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
              fix up widget macros and add _GET_CLASS() variant.
      
              * gtk/*.c: some GtkType fixups.
      ef03cb52
  12. 24 Feb, 1999 1 commit
  13. 28 Nov, 1998 1 commit
    • Tim Janik's avatar
      deprecated gtk_widget_freeze_accelerators and · 58af2b56
      Tim Janik authored
      Sat Nov 28 00:06:49 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: deprecated gtk_widget_freeze_accelerators and
              gtk_widget_thaw_accelerators, we provide gtk_widget_lock_accelerators
              and gtk_widget_unlock_accelerators.
      
              * gtk/gtklayout.h:
              * gtk/gtklayout.c: implemented incremental freezing facility.
      
              * gtk/gtktext.h:
              * gtk/gtktext.c: implemented incremental freezing facility.
      
              * gtk/gtkenums.h:
              * gtk/gtkaccelgroup.h: moved enum GtkAccelFlags into this place.
      
              * gtk/gtkentry.h:
              * gtk/gtkentry.c:
              deprecated gtk_entry_adjust_scroll().
      
              * random GtkType, macro and indentation fixes.
      
      Fri Nov 27 22:50:15 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.h:
              * gtk/gtkclist.c: implemented incremental freezing facility, added
              a new class member (*refresh)() which takes over the thaw
              functionality. the clist FROZEN flag got removed on the way.
              * gtk/gtkctree.c: adaptions to feature the clist refresh functionality
              and incremental freezing.
      
              * gtk/gtkcalendar.c: implemented incremental freezing facility.
      58af2b56
  14. 13 Apr, 1998 1 commit
  15. 24 Nov, 1997 1 commit