1. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  2. 19 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Use g_object_new instead of gtk_widget_new · 1a30e125
      Johan Dahlin authored
      2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
      
          * demos/testpixbuf.c (new_testrgb_window):
          * gtk/gtkctree.c (gtk_ctree_new_with_titles):
          * gtk/gtkitemfactory.c (gtk_item_factory_construct),
          (gtk_item_factory_create_item):
          * gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
          * gtk/gtkprogressbar.c (gtk_progress_bar_new),
          (gtk_progress_bar_new_with_adjustment):
          * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
          * gtk/gtktext.c (gtk_text_new):
          * gtk/gtkviewport.c (gtk_viewport_new):
          * tests/simple.c (main):
          * tests/testgtk.c (create_statusbar), (create_get_image),
          (create_saved_position), (create_tooltips), (create_cursors),
          (create_display_screen), (create_progress_bar), (create_idle_test):
          * tests/testmultidisplay.c (make_selection_dialog), (main):
          * tests/testmultiscreen.c (main):
          * tests/testrgb.c (new_testrgb_window):
          Use g_object_new instead of gtk_widget_new
      
      
      svn path=/trunk/; revision=20462
      1a30e125
  3. 17 Jun, 2008 1 commit
    • Michael Natterer's avatar
      build with GTK_DISABLE_DEPRECATED. · bd69ea0a
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
      
      	* gtk/gtkclist.c
      	* gtk/gtkcombo.c
      	* gtk/gtkctree.c
      	* gtk/gtklist.c
      	* gtk/gtklistitem.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtktext.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
      	actually use deprecated symbols (not just types or macros),
      	#define it again before #include "gtkalias.h" so the symbols match
      	and the beast links.
      
      
      svn path=/trunk/; revision=20433
      bd69ea0a
  4. 09 Mar, 2007 1 commit
  5. 08 Oct, 2006 1 commit
  6. 27 Dec, 2005 1 commit
  7. 21 Dec, 2005 1 commit
  8. 05 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Use g_slice instead of mem chunks. · 7dc70fba
      Matthias Clasen authored
      2005-12-05  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c:
      	* gtk/gtkuimanager.c:
      	* gtk/gtktreedatalist.c:
      	* gtk/gtktext.c:
      	* gtk/gtkmain.c:
      	* gtk/gtkitemfactory.c:
      	* gtk/gtkseparator.[hc]:
      	* gtk/gtkclist.[hc]:
      	* gtk/gtkctree.c:
      	* gtk/gtkgc.c: Use g_slice instead of mem chunks.
      7dc70fba
  9. 11 Sep, 2005 1 commit
  10. 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
  11. 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
  12. 30 Jul, 2005 1 commit
  13. 22 Mar, 2005 1 commit
  14. 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
  15. 09 Mar, 2005 1 commit
  16. 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
  17. 06 Mar, 2004 1 commit
  18. 26 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #105497; constify uses of GdkColor. · 5ebb6b04
      Federico Mena Quintero authored
      2004-01-26  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #105497; constify uses of GdkColor.
      
      	* gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
      	(gdk_gc_set_rgb_bg_color): Constify.
      	(gdk_gc_set_foreground): Constify.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.
      
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.
      
      	* gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
      	(gdk_draw_layout_with_colors): Constify.
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
      	(gdk_pixmap_colormap_create_from_xpm): Constify.
      	(gdk_pixmap_create_from_xpm): Constify.
      	(gdk_pixmap_colormap_create_from_xpm_d): Constify.
      	(gdk_pixmap_create_from_xpm_d): Constify.
      
      	* gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.
      
      	* gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
      	(gtk_clist_set_background): Constify.
      
      	* gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
      	(gtk_color_button_set_color): Constify.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
      	Constify and add a check for color != NULL.
      	(gtk_color_selection_get_current_color): Add a check for color != NULL.
      	(gtk_color_selection_set_previous_color): Constify and add a check
      	for color != NULL.
      	(gtk_color_selection_get_previous_color): Add a check for color != NULL.
      
      	* gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
      	(gtk_ctree_node_set_background): Constify.
      
      	* gtk/gtktext.c (gtk_text_insert): Constify.
      	(insert_text_property): Constify.
      	(text_properties_equal): Constify.
      	(new_text_property): Constify.
      
      	* gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
      	(gtk_widget_modify_fg): Constify.
      	(gtk_widget_modify_bg): Constify.
      	(gtk_widget_modify_text): Constify.
      	(gtk_widget_modify_base): Constify.
      5ebb6b04
  19. 03 Sep, 2003 1 commit
  20. 06 Aug, 2003 1 commit
  21. 06 Mar, 2003 1 commit
    • Matthias Clasen's avatar
      Fix NULL/FALSE confusion (#107648, Morten Welinder) · ce58806c
      Matthias Clasen authored
      2003-03-06  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextmark.c (gtk_text_mark_get_buffer):
      	* gtk/gtkeditable.c (gtk_editable_get_chars):
      	* gtk/gtkctree.c (gtk_ctree_find_node_ptr):
      	* demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
      	(#107648, Morten Welinder)
      ce58806c
  22. 05 Feb, 2003 1 commit
  23. 20 Nov, 2002 1 commit
    • Manish Singh's avatar
      add -DGTK_DISABLE_DEPRECATED. #undef it at the top of gtktypebuiltins.c. · bc035915
      Manish Singh authored
      Tue Nov 19 17:05:51 2002 Manish Singh  <yosh@gimp.org>
      
      	* gtk/Makefile.am: add -DGTK_DISABLE_DEPRECATED. #undef it at the
      	top of gtktypebuiltins.c.
      
      	* gtk/gtkclist.c
      	* gtk/gtkcombo.c
      	* gtk/gtkctree.c
      	* gtk/gtklist.c
      	* gtk/gtklistitem.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtkpreview.c
      	* gtk/gtksignal.c
      	* gtk/gtktext.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c
      	* gtk/gtktypeutils.c: #undef GTK_DISABLE_DEPRECATED, deprecated widgets
      	and compat code.
      
      	* gtk/gtkcolorsel.c: move gtk_color_selection_set_color implementation
      	to set_color_internal, and use that. The deprecated function now
      	merely wraps it.
      
      	* gtk/gtkfontsel.c: same as above, except with
      	gtk_font_selection_get_font.
      
      	* gtk/gtknotebook.c: same as above, except with
      	gtk_notebook_set_homogeneous, and gtk_notebook_set_tab_{border,
      	hborder,vborder}.
      
      	* gtk/gtkprogressbar.c: same as above, except with
      	gtk_progress_bar_set_{bar_stype,discrete_blocks,activity_step,
      	activity_blocks}.
      
      	* gtk/gtkstyle.c: same as above, except with gtk_style_get_font.
      
      	* gtk/gtkwidget.c: same as above, except with gtk_widget_set_usize.
      
      	* gtk/gtkitemfactory.h: declare compatibility functions for deprecated
      	GtkMenuFactory stuff if GTK_COMPILATION, since they are used
      	internally by the compat code.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	use of deprecated gtk_check_menu_item_set_show_toggle (it is a noop
      	now).
      
      	* gtk/gtkmain.c: replaced deprecated GTK_TYPE_* with G_TYPE_*.
      
      	* gtk/gtkobject.c: replaced various deprecated functions. In set and
      	get_property, use g_object_{set,get}_data with "user_data" instead
      	of gtk_object_{set,get}_user_data.
      
      	* gtk/gtkprogress.h: API declared if GTK_COMPILATION
      
      	* gtk/gtkprogress.c: port get_type to GObject API.
      
      	* gtk/gtktypeutils.h: declare GtkArg stuff and gtk_type_init,
      	if GTK_COMPILATION.
      
      	* gtk/gtkwidget.c: define gtk_widget_queue_clear in terms of
      	gtk_widget_queue_draw instead of the other way around.
      
      	* tests/Makefile.am: define -DGTK_DISABLE_DEPRECATED
      
      	* tests/testgtk.c
      	* tests/testselection.c
      	* tests/testsocket.c: #undef GTK_DISABLE_DEPRECATED, makes use of
      	deprecated stuff.
      bc035915
  24. 17 Nov, 2002 1 commit
    • Manish Singh's avatar
      add -DGDK_DISABLE_DEPRECATED · 89fd6ad3
      Manish Singh authored
      Sun Nov 17 13:45:08 2002  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am: add -DGDK_DISABLE_DEPRECATED
      
              * gdk/gdk.c (gdk_exit): remove obsolete comment
      
              * gdk/gdk.h: declare gdk_input_add_full if GTK_COMPILATION for
              gtk_input_add_full
      
              * gdk/gdkcolor.c (gdk_color_white, gdk_color_black): use
              gdk_colormap_alloc_color instead of gdk_color_alloc
      
              * gdk/gdkcolor.h: declare gdk_colormap_change if GDK_COMPILATION for
              gdk_colors_store. Also, gdk_colors_{alloc,free} for
              gdk_rgb_try_colormap
      
              * gdk/gdkdrawable.h: declare gdk_draw_string if GTK_COMPILATION for
              gtk_default_draw_string. Also, gdk_draw_text and gdk_draw_text_wc
              if GDK_COMPILATION for the respective gdk_window_ and gdk_pixmap_
              functions.
      
              * gdk/gdkfont.c: #undef GDK_DISABLE_DEPRECATED, completely compat
              code here
      
              * gdk/gdkfont.h: allow the GdkFont structure and a few gdk_font_
              functions for compat code in GDK_COMPILATION and GTK_COMPILATION.
      
              * gdk/gdkrgb.c (gdk_rgb_cmap_fail, gdk_rgb_try_colormap): use
              gdk_colormap_free_colors instead of gdk_colors_free.
      
              * gdk/gdkrgb.c (gdk_draw_rgb_image_core): no need to set fg/bg
              for own_gc, unused.
      
              * gdk/gdkwindow.h: declare gdk_window_get_deskrelative_origin if
              GTK_COMPILATION for gtk_handle_box_button_changed.
      
              * gdk/x11/Makefile.am: add -DGDK_DISABLE_DEPRECATED, renmae
              -DINSIDE_GDK_X11 to -DGDK_COMPILATION
      
              * gdk/x11/gdkcolor-x11.c: remove duplicate doc string for
              gdk_colormap_alloc_colors.
      
              * gdk/x11/gdkfont-x11.c:  #undef GDK_DISABLE_DEPRECATED, completely
              compat code here
      
              * gdk/x11/gdkx.h: use GDK_COMPILATION instead of INSIDE_GDK_X11,
              allow a few gdk_x11_font_ functions if GDK_COMPILATION for compat
              code
      
              * gtk/Makefile.am: add -DGDK_DISABLE_DEPRECATED
      
              * gtk/gtkclist.c
              * gtk/gtkctree.c
              * gtk/gtkpixmap.c
              * gtk/gtkpreview.c
              * gtk/gtktext.c: #undef GDK_DISABLE_DEPRECATED, deprecated widget
      
              * gtk/gtkhandlebox.c (gtk_handle_box_motion): use
              gdk_window_set_geometry_hints instead of gdk_window_set_hints.
      
              * gtk/gtkmain.c (gtk_exit): call exit directly
      
              * gtktipsquery.c (gtk_tips_query_real_start_query)
              * gtk/gtktreeitem.c (gtk_tree_item_add_pixmaps): remove some
              deprecated GDK usage.
      89fd6ad3
  25. 20 May, 2002 1 commit
  26. 14 May, 2002 1 commit
    • Owen Taylor's avatar
      Fix format of selection data to be 8 rather than GTK_TYPE_POINTER. · f47470a9
      Owen Taylor authored
      Tue May 14 17:30:57 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkctree.c gtk/gtkclist.c: Fix format of
              selection data to be 8 rather than GTK_TYPE_POINTER.
              (#79751, James Henstridge)
      
              * gtk/gtkmenu.c (gtk_menu_key_press): Call
              gtk_accelerator_valid() with cleaned up
              accel_key/accel_mods, not the raw values from
              the event. (#80513, Havoc Pennington.)
      
              * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Remove
              some dead code that set the tearoff window not
              resizable and removed decorations. (#80235)
      f47470a9
  27. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
      4632fb81
  28. 21 Feb, 2002 1 commit
  29. 23 Nov, 2001 1 commit
  30. 17 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2; · a036c6e5
      Owen Taylor authored
      Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
      	gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
      	only for compatibility with GTK+-1.2; and deprecate it;
      	put all marshalers we actually use into gtkmarshalers.list
      	and use the _gtk_marshal_ prefix for these marshalers.
      a036c6e5
  31. 04 Nov, 2001 1 commit
  32. 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
  33. 22 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Fix problem with g_return_if_fail return value. · 46dde804
      Owen Taylor authored
      Sun Oct 21 23:27:00 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_translate_coordinates): Fix
      	problem with g_return_if_fail return value.
      
       	* gdk/x11/gdkproperty-x11.c docs/Changes-2.0.txt: Move over the
      	virtual atom code from the gdk-multihead branch, removing the per-display
      	part. Virtualizing atoms needs to be done now to prevent compat
      	breakage in direct Xlib accessing code in the future. (#62208)
      
       	* gdk/x11/gdkx.h: gdk/gdk/x11/gdkproperty-x11.c: Export
       	gdk_x11_xatom_to_atom, gdk_x11_atom_to_xatom().
      
      	* gdk/gdktypes.h docs/Changes-2.0.txt: Make GdkAtom
      	an opaque pointer type so the compiler catches attempts
      	to mingle it with X atoms.
      
      	* gdk/x11/{gdkdnd-x11.c,gdkevents-x11.c,gdkglobals-x11.c,
      	  gdkkeys-x11.c, gdkmain-x11.c, gdkprivate-x11.c,
      	  gdkproperty-x11.c, gdkselection-x11.c, gdkwindow-x11.c}
      	  gtk/{gtkclist.c,gtkctree.c,gtkdnd.c,gtkplug.c,gtksocket.c}
      	  tests/testdnd.c,tests/testselection.c:
      	Fix up for above atom changes.
      
      	* gdk/gdkselection.h (GDK_SELECTION_CLIPBOARD): Add, since we
      	now have the ability to add custom predefines.
      
      	* gtk/{gtkentry.c,gtklabel.c,gtkoldeditable.c,gtktextview.c}:
      	Use GDK_SELECTION_CLIPBOARD instead of GDK_NONE in calls
      	to gtk_clipboard_get().
      
      	* gdk/win32/gdkproperty-win32.c: Add CLIPBOARD, fix up
      	for GdkAtom => pointer change.
      
      	* gdk/linux-fb/gdkproperty-fb.c: Fix handling of predefined
      	atoms, fix for GdkAtom => pointer change.
      46dde804
  34. 25 Sep, 2001 1 commit
    • James Henstridge's avatar
      add marshal function types. · 80e87c94
      James Henstridge authored
      2001-09-24  James Henstridge  <james@daa.com.au>
      
      	* gtk/gtkmarshal.list (VOID): add marshal function types.
      
      	* gtk/gtkctree.c (gtk_ctree_class_init): make arguments have type
      	GTK_TYPE_CTREE_NODE|G_SIGNAL_TYPE_STATIC_SCOPE rather than
      	GTK_TYPE_POINTER.
      	(gtk_ctree_node_get_type): implement boxed type for GtkCTreeNodes
      	with no-op copy/free functions.
      
      	* gtk/gtkctree.h (gtk_ctree_node_get_type): add prototype for
      	GtkCTreeNode get_type function.
      80e87c94
  35. 19 Sep, 2001 1 commit
    • Alexander Larsson's avatar
      Don't draw with GTK_STATE_ACTIVE. · 1a46d3d5
      Alexander Larsson authored
      2001-09-18  Alex Larsson  <alexl@redhat.com>
      
              * gtk/gtkcheckbutton.c:
      	* gtk/gtkradiobutton.c:
      	Don't draw with GTK_STATE_ACTIVE.
      
      	* gtk/gtkclist.c:
      	* gtk/gtkctree.c:
      	Draw lines between rows with base_gc[GTK_STATE_NORMAL].
      
      	* gtk/gtktextdisplay.c:
      	Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
      	unfocused with base_gc [GTK_STATE_ACTIVE].
      
      	* gtk/gtkentry.c:
      	Add select all menu-item.
      	Default cursor color is red.
      	Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
      	unfocused with base_gc [GTK_STATE_ACTIVE].
      
      	* gtk/gtklabel.[ch]:
      	Add keynav + menu to selectable lables.
      	Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
      	unfocused with base_gc [GTK_STATE_ACTIVE].
      
      	* gtk/gtkfilesel.c:
      	Add drag and drop support.
      
      	* gtk/gtkstyle.c:
      	(This was checked in earlier)
      	New default values for text/base SELECTED and ACTIVE
      1a46d3d5
  36. 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
  37. 27 Aug, 2001 1 commit
    • Jonathan Blandford's avatar
      deprecate GTK_SELECTION_EXTENDED. · d70c0b40
      Jonathan Blandford authored
      Mon Aug 27 14:21:30 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkenums.h (GtkSelectionMode): deprecate
      	GTK_SELECTION_EXTENDED.
      
      	* gtk/gtkclist.c: Remove old GTK_SELECTION_MULTIPLE behavior.
      	Make GTK_SELECTION_EXTENDED be GTK_SELECTION_MULTIPLE.
      
      	* gtk/gtkctree.c: ditto
      
      	* gtk/gtklist.c: ditto
      
      	* gtk/gtktree.c: ditto
      d70c0b40
  38. 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
  39. 12 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Formatting fixes from multihead brnach. [ mostly foo(bar) => foo (bar) ] · 79d45ab8
      Owen Taylor authored
      Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
      	  gtk/gtkctree.c gtk/gtkcurve.c gtk/gtkentry.c
      	  gtk/gtkfontsel.c gtk/gtkhandlebox.c
      	  gtk/gtkimcontextsimple.c gtk/gtkmain.c gtk/gtkmenu.c
      	  gtk/gtkmenuitem.c gtk/gtkoptionmenu.c gtk/gtkpixmap.c
      	  gtk/gtkselection.c gtk/gtktextdisplay.c gtk/gtktextview.c
      	  gtk/gtktooltips.c gtk/gtkwidget.c gtk/gtkwindow.c:
      	Formatting fixes from multihead brnach. [ mostly foo(bar) => foo (bar) ]
      79d45ab8
  40. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Clip the retrieved image data to the screen, using a server grab to avoid · 0bee26c7
      Havoc Pennington authored
      2001-06-28  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
      	image data to the screen, using a server grab to avoid race
      	conditions.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	check for NULL return from gtk_image_new_from_stock(), it never
      	returns NULL.
      	(gtk_item_factory_create_item): fix bug where we parsed the stock
      	ID as an inline pixbuf
      
      	* gtk/gtktext.c (gtk_text_key_press): numeric keypad support
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad
      	support
      
      	* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad
      
      	* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad
      
      	* gtk/gtkimcontextsimple.c
      	(gtk_im_context_simple_filter_keypress): keypad
      
      	* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad
      
      	* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes
      
      	* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support
      
      	* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
      	should be binding-setted)
      
      	* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes
      
      	* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes
      
      	* gtk/gtkcalendar.c: numeric keypad fixes
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
      	support
      
      	* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
      	screwup
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	clip the render area to the drawable's clip region in advance,
      	so we don't get data from the server that we don't need.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	check return value of gdk_pixbuf_get_from_drawable(), fall back
      	to bilevel alpha if we can't get the pixbuf to composite against.
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap
      
      	* gdk/gdkimage.c (gdk_image_get_colormap): add
      	gdk_image_set_colormap, gdk_image_get_colormap
      
      	* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
      	take a region of the image, instead of converting the entire
      	image.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
      	keybinding signal. Add default bindings for it. Add default
      	handler for show_help that shows the tooltip for the widget.
      
      	* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
      	"close" keybinding signal, remove key press handler.
      
      	* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
      	it's not our usual practice to leave a deprecated function around
      	with a runtime warning, plus we don't want it to appear in docs,
      	plus if we make them yellow no one will want to change them
      	anyhow.
      0bee26c7