1. 27 Feb, 2012 1 commit
  2. 09 Nov, 2011 1 commit
  3. 08 Nov, 2011 2 commits
  4. 17 Jun, 2011 1 commit
  5. 24 Jan, 2011 1 commit
  6. 18 May, 2010 2 commits
    • Matthias Clasen's avatar
      Let query utilities update the cache file directly · 735bee47
      Matthias Clasen authored
      This is much more convenient for packagers than having to
      redirect the output into the cache file, and much less error-prone.
      735bee47
    • Matthias Clasen's avatar
      Move the module cache files below libdir · 0b0f176a
      Matthias Clasen authored
      These files contain architecture-dependent paths, and thus placing
      them into sysconfdir causes unnecessary hassle. Now the immodule cache
      file is looked for in libdir/gtk-3.0/3.0.0/immodules.cache, and the
      pixbuf loader cache is looked for in libdir/gtk-3.0/3.0.0/loaders.cache.
      0b0f176a
  7. 18 Jul, 2008 1 commit
    • Federico Mena Quintero's avatar
      Don't do funny casts to avoid compiler warnings · 0278fdcb
      Federico Mena Quintero authored
      2008-07-18  Federico Mena Quintero  <federico@novell.com>
      
      	* demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
      	do funny casts to avoid compiler warnings.
      
      	* demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
      
      	* gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
      
      	* gtk/gtkmodules.c (load_module): Likewise.
      
      	* gtk/gtkselection.c (gtk_selection_convert): Likewise.
      
      	* gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
      
      	* gtk/queryimmodules.c (query_module): Likewise.
      
      	* tests/testgtk.c (create_gridded_geometry, create_key_lookup)
      	(find_widget_at_pointer): Likewise.
      Signed-off-by: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=20862
      0278fdcb
  8. 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
  9. 25 Apr, 2008 1 commit
    • Michael Natterer's avatar
      include <pango/pango.h> instead of <pango/pango-layout.h>. · 53dd0547
      Michael Natterer authored
      2008-04-25  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkprintcontext.h: include <pango/pango.h> instead of
      	<pango/pango-layout.h>.
      
      	* gtk/gtkiconfactory.c
      	* gtk/gtkimmodule.c
      	* gtk/gtkmain.c
      	* gtk/gtkmodules.c
      	* gtk/queryimmodules.c: remove inclusion of single files from
      	pango, none of them was actually needed.
      
      	* modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
      	<pango/pango-utils.h>.
      
      
      svn path=/trunk/; revision=20042
      53dd0547
  10. 08 Oct, 2006 1 commit
  11. 22 Dec, 2004 1 commit
  12. 14 Sep, 2004 1 commit
  13. 06 Mar, 2004 1 commit
  14. 20 Aug, 2003 1 commit
  15. 15 Aug, 2003 1 commit
    • Owen Taylor's avatar
      Fixes for X/Cygwin builds of GTK+ (#107623, Masahiro Sakai): · e44f6a8a
      Owen Taylor authored
      Fri Aug 15 12:34:04 2003  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for X/Cygwin builds of GTK+ (#107623, Masahiro Sakai):
      
              * configure.in (GDK_DEP_LIBS_FOR_X): Make sure that
              we link libgtk against X explicitely, since we
              make GTK+ calls for plug/socket.
      
              * gtk/queryimmodules.c: Use USE_LA_MODULES and
              G_MODULE_SUFFIX here.
      
              * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_image): Protect
              XShmPutImage with #ifdef USE_SHM.
      e44f6a8a
  16. 27 May, 2003 1 commit
    • Matthias Clasen's avatar
      Remove dubious bitfields of unspecified signedness. (#112919, Morten · 83c626bb
      Matthias Clasen authored
      2003-05-27  Matthias Clasen  <maclas@gmx.de>
      
      	* io-wbmp.c: Remove dubious bitfields of
      	unspecified signedness.  (#112919, Morten Welinder)gdk-p
      
      	* gdk-pixdata.c (gdk_pixdata_to_csource): Replace all occurances
      	of g_string_new ("") by g_string_new (NULL). (#106975, Morten Welinder)
      
      	* gtk/gtkwindow-decorate.c:
      	* gtk/gtktreeprivate.h:
      	* gtk/gtkdnd.c:
      	* gdk/win32/gdkwindow-win32.h:
      	* gdk/linux-fb/gdkprivate-fb.h:
      	* gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of
      	unspecified signedness.  (#112919, Morten Welinder)
      
      	* gtk/queryimmodules.c (escape_string):
      	* gtk/gtktextbtree.c (_gtk_text_btree_get_text):
      	* gtk/gtksettings.c (_gtk_settings_parse_convert):
      	* gtk/gtkrc.c (gtk_rc_parse_assignment):
      	* gtk/gtkinputdialog.c (gtk_input_dialog_set_key):
      	* gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all
      	occurances of g_string_new ("") by g_string_new (NULL). (#106975,
      	Morten Welinder)
      83c626bb
  17. 15 Dec, 2002 1 commit
    • Matthias Clasen's avatar
      Use g_printf instead of system printf. (#99327) · 8ba71578
      Matthias Clasen authored
      2002-12-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcalendar.c:
      	* gtk/gtkfilesel.c:
      	* gtk/gtkfontsel.c:
      	* gtk/gtkhruler.c:
      	* gtk/gtkinputdialog.c:
      	* gtk/gtkprogress.c:
      	* gtk/gtktreemodel.c:
      	* gtk/gtkvruler.c:
      	* gtk/queryimmodules.c:
      	* gtk/theme-bits/decompose-bits.c:
      	* gdk-pixbuf/gdk-pixbuf-csource.c:
      	* gdk-pixbuf/make-inline-pixbuf.c:
      	* gdk-pixbuf/queryloaders.c:
      	* gdk/gdkkeynames.c:
      	* gdk/gdkrgb.c:
      	* gdk/linux-fb/gdkfbmanager.c:
      	* gdk/win32/gdkevents-win32.c:
      	* gdk/win32/gdkmain-win32.c:
      	* gdk/win32/gdkproperty-win32.c:
      	* gdk/x11/gdkmain-x11.c: Use g_printf instead of system
      	printf.  (#99327)
      8ba71578
  18. 31 Jul, 2002 2 commits
  19. 27 Feb, 2002 1 commit
    • Hans Breuer's avatar
      new file · bc94033d
      Hans Breuer authored
      2002-02-27  Hans Breuer  <hans@breuer.org>
      
      	* demos/gtk-demo/makefile.msc.in : new file
      
      	* gdk-pixbuf/gtk-pixbuf.rc.in : new file to include
      	  version resource
      	* gdk-pixbuf/makefile.msc : create and use gdk-pixbuf.res
      
      	* gdk/win32/gdkkeys-win32.c : handle undefined LANG_URDU,
      	(gdk_keyval_name) : fix endless looping
      
      	* gtk/gtkfilesel.c : translate_win32_path() static
      	* gtk/queryimmodules : print_escaped(), query_module() static
      
      	* gtk/makefile.msc.in : added gtkkeyhash, build gtk-win32.res
      
      	* gtk/stock-icons/makefile.msc : regenerated from directory
      	listing (almost all filenames changed)
      bc94033d
  20. 05 Dec, 2001 2 commits
    • Manish Singh's avatar
      gtk/gtkmain.c g_module_symbol takes a gpointer *, not just a gpointer. · 9605ec8a
      Manish Singh authored
      2001-12-04  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkmain.c
              * gtk/queryimmodules.c: g_module_symbol takes a gpointer *, not just
              a gpointer.
      
              * gtk/gtkwidget.c (gtk_widget_push_composite_child): minor cosmetic
              correction to docs.
      
              * demos/gtk-demo/item_factory.c: add GTK_WINDOW() cast
      9605ec8a
    • Sven Neumann's avatar
      close comment. · 57f50846
      Sven Neumann authored
      2001-12-05  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkwidget.c (gtk_widget_reset_shapes): close comment.
      
      	* gtk/queryimmodules.c: g_dir_read_name() returns const.
      57f50846
  21. 18 Nov, 2001 1 commit
    • Hans Breuer's avatar
      make it compile with msvc: !HAVE_UNISTD_H; no label without op, even if · d9eb9ba9
      Hans Breuer authored
      2001-11-18  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gdkaccelmap.c : make it compile with msvc: !HAVE_UNISTD_H;
      	no label without op, even if it's a no-op.
      
      	* gtk/gtk.def :
      	* gtk/makefile.msc.in : reflect marshaler split, some clean-up
      
      	* config.h.win32.in : remove definition of HAVE_DIRENT_H
      	* gtk/gtkfilesel.c : due to GDir (new in glib) DIR isn't
      	required anymore, replace it.
      	* gtk/queryimmodules.c : DIR -> GDir replacement, also
      	getcwd() -> g_get_current_dir()
      
      	* gdk/win32/gdkgeometry-win32.c : adapt to refactored gdkgeometry-x11.c
      	Even 'noisy laugh' scolling appears to work, though I still can't
      	claim to have fully understood what it is supposed to do ...
      d9eb9ba9
  22. 11 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Implement a search path for GTK+ modules. · 69915aa7
      Owen Taylor authored
      Sat Sep  8 16:19:02 2001  Owen Taylor  <otaylor@redhat.com>
      
       	* gtk/gtkmain.c: Implement a search path for GTK+ modules.
      
       	* configure.in gtk/gtkrc.c gtk/Makefile.am: Look for modules
       	in gtk-2.0/<type>/major.minor.(micro-binary_age) rather
       	than in gtk-2.0/major.minor.micro/<type>/. This
       	works better for a search path for modules.
      
       	* gtk+-2.0.pc.in gtk+-2.0-uninstalled.pc.in: Add
       	gtk_binary_version variable holding major.minor.(micro-binary_age).
      
       	* modules/input/Makefile.am (moduledir): Fix installation
       	directory to match change in lookup location.
      
       	* gtk/gtkmain.c (gtk_init_check): Remove OS/2 code for dll
       	suffixes. Needs to be handled in g_module_build_path().
      
      	* gtk/gtkrc.c gtk/queryimmodules.c: Use g_build_filename() where
      	appropriate.
      69915aa7
  23. 12 Nov, 2000 1 commit
    • Owen Taylor's avatar
      Make parent_class static. · dfba2269
      Owen Taylor authored
      Sun Nov  5 04:24:53 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcellrenderertextpixbuf.c: Make parent_class
      	static.
      
      Tue Sep 19 10:54:22 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimcontext*.[ch] gtk/gtkimmulticontext.[ch]
      	gtk/gtktextlayout.[ch] gtk/gtktextview.c gtk/gtkentry.c:
      	Add support for positioning the cursor within the preedit string.
      
      Mon Sep 18 23:56:32 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextview.c: Check for bindings after passing
      	events to im context filter.
      
      Mon Sep 18 11:50:51 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextlayout.c (add_preedit_attrs): Handle
      	empty attribute lists properly.
      
      Sun Sep 17 10:08:16 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/queryimmodules.c (main): Return non-zero exit
      	status if errors were encountered querying any
      	modules.
      
      Sat Sep 16 14:01:52 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtk.h: include gtkmodule.h gtkoldeditable.h,
      	don't include gtkthemes.h.
      
      	* gtk/testgtk.c gtk/testtext.c: Set environment variables
      	to point
      
      	* gtk/Makefile.am: Add new .c and .h files, build
      	gtk-query-immodules and use it to create a gtk.immodules
      	file for use of test programs.
      
      	* gtk/gtkpreview.c: remove extra blank line.
      
      Sat Sep 16 13:21:04 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_add_table):
      	Add the ability to add extra tables beyond the default
      	one, and also the ability to have compose sequences
      	that are prefixes of other compose sequences.
      
      	* gtk/gtkimcontextsimple.c: Export a preedit string which
      	consists of possible candidates for keystrokes that have
      	been entered but not yet committed.
      
      	* gtk/gtkimcontext.[ch] gtk/immulticontext.[ch]
      	gtk/gtkimcontextsimple.[ch]: add gtk_im_context_reset()
      
      	* gtk/gtkmulticontext.[ch] (gtk_im_multicontext_append_menuitems):
      	Add a function to add input-method switching menu items
      	to a menu.
      
      	* gtk/gtkimmulticontext.[ch]: Properly handly set_client_window
      	when switching input methods.
      
      	* gtk/gtkimcontextsimple.[ch]: Change the format of
      	the compose table to allow compose tables of different
      	lengths / sequence.
      
      Sat Sep 16 13:05:48 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimmodule.[ch]: Support routines for loading
      	GtkIMContext implementations dynamically at runtime.
      
      	* gtk/queryimmodules.c: Program to query the available
      	input modules and write the results into a file.
      
      	* gtk/gtkrc.[ch] (gtk_rc_get_im_module_file): Add
      	extra config options "im_module_file" (cache file for
      	input method modules), and "im_module_path" - path
      	to look for modules when generating cache file.
      
      	This doesn't scale.
      
      Sat Sep 16 13:09:06 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkthemes.[ch] gtk/gtkmodule.[ch]: Move most of the
      	generic	code from gtkthemes into a new abstraction
      	GtkModule which has the logic for implementing
      	a loadable module which implements a number of
      	GObject types.
      
      Sat Sep 16 13:07:13 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkeditable.[ch]: Convert GtkEditable from
      	a class into an interface
      
      	* gtk/gtkoldeditable.[ch]: Move the old editable
      	implementation into here, so legacy widgets can
      	still rely on the implemenation. GtkOldEditable
      	exports GtkEditable. Make selection handling
      	code use new text conversion functions (and
      	handle UTF-8 as a side-effect). Use GtkClipboard
      	for CLIPBOARD.
      
      	* gtk/gtktext.[ch] gtk/gtkcombo.c gtk/gtkspinbutton.c:
      	Adopt to match above changes.
      
      	* gtk/gtkentry.[ch]: Implement GtkEditable directly,
      	avoid GtkOldEditable implementation. Restructure
              to reduce number of places that modify state directly.
      	Move to GtkBindingSet. Display the preedit string.
      	Queue recomputation of PangoLayout and scroll position
      	to improve effiency of doing complex changes naively.
      	Add a menu with cut/copy/paste and input method selection.
      
      Thu Sep 14 22:11:05 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextlayout.[ch]: Add gtk_text_layout_set_preedit_string()
      	to set preedit string and attributes; display preedit string by
      	inserting string and attributes at cursor when creating the
      	GtkTextLineDisplay.
      
      	* gtk/gtktextlayout.c: Move all conversions between byte
      	positions in PangoLayout and GtkTextIter into new functions
      	line_display_iter_to_index/index_to_iter that properly
      	handle the preedit string.
      
      	* gtk/gtktextmark.[ch]: Restore gtk_text_mark_get_name, modify
      	it to return const char * (eventually will end up
      	as GCONST char *, most likely.)
      
      	* gtk/gtktextview.[ch]: Handle the preedit string, call
      	gtk_im_context_reset() as necessary, add a menu to switch
      	input methods.
      
      	* gtk/gtktextlayout.[ch]: Remove useless
      	gtk_text_layout_get_log_attrs() function.
      dfba2269