1. 27 Feb, 2012 1 commit
  2. 27 Aug, 2010 1 commit
  3. 13 Jul, 2010 1 commit
  4. 02 May, 2010 1 commit
  5. 30 Oct, 2008 1 commit
  6. 20 Jun, 2008 2 commits
    • Tim Janik's avatar
      Switch to "guint GSEAL (foo) : width;" when packing fields in guints. · cd19149a
      Tim Janik authored
      * gtk/gtkbox.h:
      * gtk/gtkbutton.h:
      * gtk/gtkcellrenderer.h:
      * gtk/gtkcellrenderertext.h:
      * gtk/gtkcheckmenuitem.h:
      * gtk/gtkcontainer.h:
      * gtk/gtkentry.h:
      * gtk/gtkhandlebox.h:
      * gtk/gtkimcontextsimple.h:
      * gtk/gtklabel.h:
      * gtk/gtkliststore.h:
      * gtk/gtkmenu.h:
      * gtk/gtkmenuitem.h:
      * gtk/gtkmenushell.h:
      * gtk/gtknotebook.h:
      * gtk/gtkpaned.h:
      * gtk/gtkplug.h:
      * gtk/gtkprintjob.h:
      * gtk/gtkprogressbar.h:
      * gtk/gtkrange.h:
      * gtk/gtkscale.h:
      * gtk/gtkscrolledwindow.h:
      * gtk/gtksizegroup.h:
      * gtk/gtksocket.h:
      * gtk/gtkspinbutton.h:
      * gtk/gtkstatusbar.h:
      * gtk/gtktable.h:
      * gtk/gtktearoffmenuitem.h:
      * gtk/gtktextbuffer.h:
      * gtk/gtktextview.h:
      * gtk/gtktogglebutton.h:
      * gtk/gtktoolbar.h:
      * gtk/gtktreestore.h:
      * gtk/gtktreeviewcolumn.h:
      * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
      
      svn path=/trunk/; revision=20621
      cd19149a
    • Tim Janik's avatar
      Seal GtkCellRendererText. · a734a9bc
      Tim Janik authored
      * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
      marked as private).
      
      svn path=/trunk/; revision=20523
      a734a9bc
  7. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  8. 21 Jun, 2005 1 commit
  9. 23 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Mark as const. · b69987f2
      Matthias Clasen authored
      2004-11-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkuimanager.h (gtk_ui_manager_get_type):
      	* gtk/gtktreeview.h (gtk_tree_view_get_type):
      	* gtk/gtktreeviewcolumn.h (gtk_tree_view_column_get_type):
      	* gtk/gtktreestore.h (gtk_tree_store_get_type):
      	* gtk/gtktreeselection.h (gtk_tree_selection_get_type):
      	* gtk/gtktreemodelfilter.h (gtk_tree_model_filter_get_type):
      	* gtk/gtktreemodel.h (gtk_tree_iter_get_type):
      	(gtk_tree_path_get_type):
      	(gtk_tree_row_reference_get_type):
      	* gtk/gtktoolitem.h (gtk_tool_item_get_type):
      	* gtk/gtktoolbutton.h (gtk_tool_button_get_type):
      	* gtk/gtktoggleaction.h (gtk_toggle_action_get_type):
      	* gtk/gtkthemes.h (gtk_theme_engine_get_type):
      	* gtk/gtktextiter.h (gtk_text_iter_get_type):
      	* gtk/gtksettings.h (gtk_settings_get_type):
      	* gtk/gtkselection.h (gtk_selection_data_get_type):
      	* gtk/gtkradioaction.h (gtk_radio_action_get_type):
      	* gtk/gtkmenutoolbutton.h (gtk_menu_tool_button_get_type):
      	* gtk/gtkliststore.h (gtk_list_store_get_type):
      	* gtk/gtkiconview.h (gtk_icon_view_get_type):
      	* gtk/gtkicontheme.h (gtk_icon_info_get_type):
      	* gtk/gtkiconfactory.h (gtk_icon_factory_get_type):
      	(gtk_icon_set_get_type):
      	(gtk_icon_source_get_type):
      	* gtk/gtkfilesystemwin32.h (gtk_file_system_win32_get_type):
      	* gtk/gtkfilesystemunix.h (gtk_file_system_unix_get_type):
      	* gtk/gtkfilesystem.h (gtk_file_folder_get_type):
      	(gtk_file_info_get_type, gtk_file_path_get_type):
      	(gtk_file_system_get_type):
      	* gtk/gtkfilefilter.h (gtk_file_filter_get_type):
      	* gtk/gtkfilechooserwidget.h (gtk_file_chooser_widget_get_type):
      	* gtk/gtkfilechooser.h (gtk_file_chooser_get_type):
      	* gtk/gtkfilechooserdialog.h (gtk_file_chooser_dialog_get_type):
      	* gtk/gtkexpander.h (gtk_expander_get_type):
      	* gtk/gtkentrycompletion.h (gtk_entry_completion_get_type):
      	* gtk/gtkcombobox.h (gtk_combo_box_get_type):
      	* gtk/gtkcomboboxentry.h (gtk_combo_box_entry_get_type):
      	* gtk/gtkclipboard.h (gtk_clipboard_get_type):
      	* gtk/gtkcellview.h (gtk_cell_view_get_type):
      	* gtk/gtkcellrenderertoggle.h (gtk_cell_renderer_toggle_get_type):
      	* gtk/gtkcellrenderertext.h (gtk_cell_renderer_text_get_type):
      	* gtk/gtkcellrendererprogress.h (gtk_cell_renderer_progress_get_type):
      	* gtk/gtkcellrendererpixbuf.h (gtk_cell_renderer_pixbuf_get_type):
      	* gtk/gtkcellrenderercombo.h (gtk_cell_renderer_combo_get_type):
      	* gtk/gtkcelllayout.h (gtk_cell_layout_get_type):
      	* gtk/gtkactiongroup.h (gtk_action_group_get_type):
      	* gtk/gtkaction.h (gtk_action_get_type):
      	* gtk/gtkaccessible.h (gtk_accessible_get_type):
      	* gtk/gtkaccelmap.h (gtk_accel_map_get_type):
      	* gtk/gtkaccelgroup.h (gtk_accel_group_get_type):
      	* gtk/gtkmessagedialog.h (gtk_message_dialog_get_type): Mark as const.
      
      	* gtk/gtkicontheme.h:  Don't mark gtk_icon_theme_error_quark()
      	as const, to be consistent with all the other error_quark
      	functions. (technically they are const, but since these are
      	called only in error paths, giving the compiler better
      	optimization opportunities doesn't matter much)
      
      	* gtk/gtk.symbols:
      	* gdk/gdk.symbols: Add attribute annotations.
      
      	* gtk/makegtkalias.pl:
      	* gdk/makegdkalias.pl: Keep attribute annotations, but strip PRIVATE.
      
      	* gtk/Makefile.am (gtk.def):
      	* gdk/Makefile.am (gdk.def): Strip attribute annotations, but keep
      	PRIVATE.
      b69987f2
  10. 07 Oct, 2002 1 commit
    • Manish Singh's avatar
      deprecation cleanup · 28def5e4
      Manish Singh authored
      Sun Oct  6 18:32:11 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcelleditable.c gtk/gtkcellrenderer.[ch]
              gtk/gtkcellrendererpixbuf.[ch] gtk/gtkcellrenderertext.[ch]
              gtk/gtkcellrenderertoggle.[ch]: deprecation cleanup
      28def5e4
  11. 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
  12. 12 Dec, 2001 1 commit
  13. 14 Nov, 2001 1 commit
    • Jonathan Blandford's avatar
      Return the currently selected column when we get the column, #64380 · 99fea7f9
      Jonathan Blandford authored
      Wed Nov 14 17:40:23 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_expander_column): Return
      	the currently selected column when we get the column, #64380
      
      	* gtk/gtkentry.c (gtk_cell_editable_key_press_event): Handle Esc
      	to cancel CellRendererText editting, #63613
      
      	* gtk/gtkcellrenderertext.c: ditto
      
      	* gtk/gtkcellrenderertext.h: formatting changes
      99fea7f9
  14. 31 Oct, 2001 1 commit
  15. 25 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      Make a GtkCellEditable (get_widget_window_size): Change to let it honor · 92841cb9
      Jonathan Blandford authored
      Tue Sep 25 12:34:42 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkentry.c: Make a GtkCellEditable
      	(get_widget_window_size): Change to let it honor size_allocate
      	when a CellEditable.
      
      	* gtk/gtktreeview.c: M-x clean-line-ends.  Lots of focus and
      	editable changes.
      	(gtk_tree_view_set_cursor): Now you can set the cursor
      	horizontally, as well as start editing.
      
      	* gtk/gtkstyle.c (gtk_default_draw_check): changing toggle drawing
      	code to look more like the other check buttons.
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
      	Change the way we calculate cell size.
      
      	* gtk/gtkmarshal.list (VOID:STRING,STRING): new marshaller.
      
      	* demos/gtk-demo/sizegroup.c: Add mnemonics.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_size): Fix docs.
      	Fix logic.
      
      	* gtk/gtkcellrenderertext.c: Change to be editable.
      
      	* gtk/gtkcellrenderertoggle.c: Change to be activatable.
      
      	* test/testtreesort.c: Fix misspelling
      
      	* test/testreecolumns.c: Add mnemonics.
      
      	* test/testreeedit.c: New test program.
      92841cb9
  16. 18 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Fix up for changes to PangoFontDescription. · a15d5c36
      Owen Taylor authored
      Wed Sep 12 11:21:14 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcellrenderertext.[ch] gtk/gtktexttag.[ch]
      	  gtk/gtktextview.c tests/testgtk.c: Fix up for changes to
      	PangoFontDescription.
      
      	* gtk/gtkentry.c gtk/gtkclist.c gtk/gtkcellrenderertext.c
      	gtk/gtkspinbutton.c: Fix up for change to PangoMetrics
      	structure.
      
      	* gtk/gtkfontsel.c: Fix up for new Pango font listing API.
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font/set_font to replace
        	direct access to style->font. Deprecate gtk_style_ref/unref.
      
       	* gtk/gtkclist.c gtk/gtkctree.c gtk/gtkstyle.c gtk/gtkwidget.c:
        	Remove gtk_style_ref/unref with g_object_ref/unref.
      
        	* gtk/gtkcalendar.c: Remove leftover macros accessing
        	style->font.
      
        	* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove unused
        	variable.
      
        	* gtk/gtktext.c gtk/gtklabel.c: Use gtk_style_get_font() instead of
      	style->font.
      a15d5c36
  17. 30 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      changed new_with_types to just plain new, fixing the number of columns, · ee5ff7dd
      Jonathan Blandford authored
      Fri Jun 29 22:13:28 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_new): changed new_with_types
      	to just plain new, fixing the number of columns, and column types
      	at creation time.
      
      	* gtk/gtkliststore.c (gtk_list_store_new): ditto.
      
      	* gtk/gtkcellrenderertext.c
      	(gtk_cell_renderer_text_set_fixed_height_from_font): FIX the
      	height to a specific font.
      
      	* gtk/gtktreeview.c (gtk_tree_view_is_expander_column): fix brokenness.
      
      	* tests/*c: change to work with new store models.
      ee5ff7dd
  18. 22 May, 2001 2 commits
    • Jonathan Blandford's avatar
      Added patch from Jeff Franks <jcf@tpg.com.au> to add GET_CLASS macros to · 04af1586
      Jonathan Blandford authored
      Tue May 22 16:25:27 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview*.h:
      	* gtk/gtkcell*.h:
      	* gtk/gtk*store.h:
      	Added patch from Jeff Franks <jcf@tpg.com.au> to add GET_CLASS
      	macros to all objects.
      04af1586
    • Jonathan Blandford's avatar
      Evil function to deal with very large (TM) amounts of text. May be moved · 66152ab6
      Jonathan Blandford authored
      Tue May 22 15:13:52 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderertext.c
      	(gtk_cell_renderer_text_set_fixed_size): Evil function to deal
      	with very large (TM) amounts of text.  May be moved to
      	GtkCellRenderer in the future, though I'm not sure it wants to be
      	this accessible.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
      	More sanity brought to this class.  I like it.
      
      	* tests/testtreecolumns.c (ViewColumnModel): Amazingly scary test
      	case.  Kids, don't try this at home.
      
      	* gtk/gtktreemodel.c (gtk_tree_model_get_iter_root): new
      	convenience function.
      
      	* gtk/gtkwindow.c (gtk_window_set_geometry_hints): Fix typo in docs.
      66152ab6
  19. 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
  20. 20 Feb, 2001 1 commit
    • Alexander Larsson's avatar
      Add a "markup" property. · 699c9334
      Alexander Larsson authored
      2001-02-20  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkcellrenderertext.[ch]:
      	Add a "markup" property.
      
      	* gtk/treestoretest.c:
      	Use the markup property, remove some leftover stuff from
      	GtkTreeModelMapping.
      699c9334
  21. 08 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      remove validation idle · 4a3c8a36
      Havoc Pennington authored
      2001-02-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
      	validation idle
      
      	* demos/gtk-demo/main.c (create_tree): adjust to changes in text
      	cell renderer
      
      	* demos/pixbuf-demo.c (timeout): remove deprecated
      	gtk_widget_draw
      
      	* demos/testpixbuf-save.c (main): remove deprecated
      	gtk_drawing_area_size
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): allocate
      	buttons even if the model isn't setup. gtk_tree_view_check_dirty()
      	at the start of the allocation.
      	(gtk_tree_view_check_dirty): handle column->button == NULL, handle
      	unsetup or NULL model.
      
      	* gtk/gtkstyle.c (gtk_default_draw_flat_box): drawing for the
      	even/odd/sorted cells in the tree view.
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_real_unselect_all):
      	bugfixes
      
      	* gtk/gtktreeview.c: assorted bugfixy stuff. Draw the row
      	backgrounds with draw_flat_box using different detail for even/odd
      	rows.
      
      	* gtk/gtkrbtree.c, gtkrbtree.h: Keep track of the parity of each
      	row, so we can draw the alternating colors thing
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_property): if we change a
      	property from a synonym property, notify for the synonym.
      	Also, nuke the background_gdk_set and foreground_gdk_set synonyms
      	(gtk_text_tag_get_property): Always return the font, even if
      	all its fields aren't set
      
      	* gtk/gtkcellrenderertext.h (struct _GtkCellRendererText): don't
      	store the attr list; it leaves us with no way to change attributes
      	in _render according to the render flags, and no way to implement
      	get_property. Instead store all the specific text attributes.
      	Separate whether an attribute is enabled from its value. Sync all
      	properties with GtkTextTag, make them all consistent, etc.
      
      	* gtk/gtkcellrenderer.h: Add a flag GTK_CELL_RENDERER_SORTED so
      	renderers can highlight the sort row/column
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_property): use
      	accessor functions to get values; this has the side effect of
      	showing up which accessor functions were missing. Added those.
      
      	* gtk/gtktreeviewcolumn.h: Replace set_justification with
      	set_alignment, to be consistent with GtkLabel, GtkMisc
      
      	* gtk/gtktreeviewcolumn.c: Added code to display sort indicator
      	arrow.
      
      	* gtk/Makefile.am (gtk_public_h_sources): add gtktreesortable.h
      
      	* gtk/gtktreesortable.h: updates in here
      4a3c8a36
  22. 05 Oct, 2000 1 commit