1. 28 Dec, 2007 1 commit
  2. 23 May, 2007 1 commit
    • Yevgen Muntyan's avatar
      missing #include <ctype.h>. · 1a534510
      Yevgen Muntyan authored
      2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_paint):
      	* gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
      	* gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
      	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
      	* gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
      	* gtk/gtkpreview.c (gtk_preview_finalize):
      	* gtk/gtknotebook.c (gtk_notebook_set_group_id):
      	* tests/testnotebookdnd.c (window_creation_function):
      	* tests/testiconview.c (do_popup_menu):
      	Fixed some compiler warnings (#440689).
      
      svn path=/trunk/; revision=17898
      1a534510
  3. 25 Apr, 2007 1 commit
  4. 04 Jan, 2007 1 commit
    • Matthias Clasen's avatar
      Fix some compiler warnings. · 0bf8e61f
      Matthias Clasen authored
      2007-01-04  Matthias Clasen  <mclasen@redhat.com>
      
              * demos/gtk-demo/textscroll.c:
              * gtk/gtkhandlebox.c:
              * gtk/gtkcolorsel.c: Fix some compiler warnings.
      
      
      
      svn path=/trunk/; revision=17063
      0bf8e61f
  5. 24 Dec, 2006 1 commit
  6. 08 Oct, 2006 1 commit
  7. 14 May, 2006 1 commit
  8. 02 May, 2006 1 commit
  9. 11 Jan, 2006 1 commit
  10. 13 Sep, 2005 1 commit
  11. 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
  12. 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
  13. 26 Mar, 2005 1 commit
  14. 22 Mar, 2005 1 commit
  15. 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
  16. 09 Mar, 2005 1 commit
  17. 13 Aug, 2004 2 commits
  18. 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
  19. 31 May, 2004 1 commit
  20. 06 Mar, 2004 1 commit
  21. 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
  22. 03 Sep, 2003 1 commit
  23. 14 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Handle the case where the pointer is moved between screens during a handle · 30b328e7
      Owen Taylor authored
      Fri Dec 13 21:35:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkhandlebox.c (gtk_handle_box_motion): Handle
              the case where the pointer is moved between screens
              during a handle box drag by resetting the original
              location. (#94562)
      
              * gtk/gtkinputdialog.c (gtk_input_dialog_get_private):
              Fix a leftover variable name from cut-and-paste.
      30b328e7
  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. 07 Nov, 2002 1 commit
  26. 02 Nov, 2002 1 commit
  27. 11 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · f18d5d35
      Manish Singh authored
      Fri Oct 11 15:56:20 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch]
              gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch]
              gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch]
              gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation
              cleanup
      f18d5d35
  28. 04 Oct, 2002 1 commit
    • Soeren Sandmann's avatar
      remove unused codepath. · d2aa6268
      Soeren Sandmann authored
      Fri Oct  4 21:21:47 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_paint): remove unused
      	codepath.
      
      	* gtk/gtkmenuitem.c (gtk_real_menu_item_{de,}select): call
      	gtk_widget_queue_draw() instead of gtk_widget_draw().
      d2aa6268
  29. 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
  30. 18 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Replace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display(). · 621fb746
      Owen Taylor authored
      Tue Jun 18 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c
              gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace
              gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
              (#85671)
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c
              gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c
              gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c
              gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c:
              Adapt to above change.
      621fb746
  31. 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
  32. 27 Feb, 2002 1 commit
    • Soeren Sandmann's avatar
      minor code cleanup · 27b1d120
      Soeren Sandmann authored
      Wed Feb 27 23:02:55 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_realize): minor code cleanup
      27b1d120
  33. 30 Jan, 2002 2 commits
  34. 29 Jan, 2002 1 commit
  35. 28 Jan, 2002 1 commit
  36. 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
  37. 10 Sep, 2001 1 commit
    • Tim Janik's avatar
      slight fix for g_object_set() not usable for nesting anymore. · 91aa2d92
      Tim Janik authored
      Mon Sep 10 20:47:22 2001  Tim Janik  <timj@gtk.org>
      
              * tests/testgtk.c (create_idle_test): slight fix for
              g_object_set() not usable for nesting anymore.
      
              * gtk/gtkhandlebox.c (gtk_handle_box_class_init):
              * gtk/gtkframe.c (gtk_frame_class_init): deprecate ::shadow
              properties, supply ::shadow_type properties instead as most
              other widgets do.
      91aa2d92
  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