1. 25 May, 2008 25 commits
    • Cody Russell's avatar
      Bug 507389 – use gslice for gtksettings · d46b2c14
      Cody Russell authored
      2008-05-25  Cody Russell  <bratsche@gnome.org>
      
              Bug 507389 – use gslice for gtksettings
      
              * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
              Report and patch by Christian Persch.
      
      
      svn path=/trunk/; revision=20168
      d46b2c14
    • Cody Russell's avatar
      Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and · 6b06d71c
      Cody Russell authored
      2008-05-25  Cody Russell  <bratsche@gnome.org>
      
              Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
              when options are missing
      
              * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so     
              that other processes that try to open it will fail gracefully.  Also
              fix a crasher caused by lack of a NULL check.  Report and patch
              by Erwann Chenede.
      
      
      svn path=/trunk/; revision=20167
      6b06d71c
    • Cody Russell's avatar
      Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows · 4f84a5f2
      Cody Russell authored
      2008-05-25  Cody Russell  <bratsche@gnome.org>
      
              Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
      
              * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
              !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
              so that we also take into account for foreign windows.
              Report and patch by Nathaniel Smith.
      
      
      svn path=/trunk/; revision=20166
      4f84a5f2
    • Cody Russell's avatar
      Bug 525461 - Don't invalidate under an input-only child · a0e6b364
      Cody Russell authored
      2008-05-25  Cody Russell  <bratsche@gnome.org>
      
              Bug 525461 - Don't invalidate under an input-only child
      
              * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
              Check that the window is not input-only before invalidating.
              Report and patch by Owen Taylor.
      
      
      svn path=/trunk/; revision=20165
      a0e6b364
    • Cody Russell's avatar
      Bug 524110 - Gdk should not assume reparenting WMs when retrieving window · 4a5da1a1
      Cody Russell authored
      2008-05-25  Cody Russell  <bratsche@gnome.org>
      
              Bug 524110 - Gdk should	not assume reparenting	WMs when retrieving
              window	frame extents
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
              Use _NET_FRAME_EXTENTS,	if available. Patch by Danny Baumann.
      
      
      svn path=/trunk/; revision=20164
      4a5da1a1
    • Cody Russell's avatar
      Bug 522269 - Evince windows sometimes incorrectly unmaximized, caused by · 030ff5b1
      Cody Russell authored
      2008-05-25  Cody Russell  <bratsche@gnome.org>
      
              Bug 522269 - Evince windows sometimes incorrectly unmaximized,
              caused by missing flag initialization
      
              * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
              top-level private flags correctly.  Patch by Danny Baumann.
      
      
      svn path=/trunk/; revision=20163
      030ff5b1
    • Cody Russell's avatar
      Bug 534463 - non-editable GtkTextView should not call · cd7376dd
      Cody Russell authored
      2008-05-25  Cody Russell  <bratsche@gnome.org>
      
              Bug 534463 - non-editable GtkTextView should not call
              gtk_im_context_focus_in	in focus	event
      
              * gtk/gtktextview.c: Add checks	to see	if the textview	is
              editable.  Patch by Wang Diancheng.
      
      
      svn path=/trunk/; revision=20162
      cd7376dd
    • Matthias Clasen's avatar
      Bug 501730 – use GSlice for small allocs · b0ea8e9f
      Matthias Clasen authored
              * gtk/gtkmenuitem.c:
              * gtk/gtkmenu.c: Use the slice allocator for small allocations.
              Patch by Christian Persch.
      
      
      svn path=/trunk/; revision=20161
      b0ea8e9f
    • Matthias Clasen's avatar
      Bug 465144 - gtkprintjob.h is not included with gtk.h · 64d2764a
      Matthias Clasen authored
              * gtk/gtk-sections.txt: Fix include for gtkprintjob.h, pointed
              out by Étienne Bersac.
      
      
      svn path=/trunk/; revision=20160
      64d2764a
    • Matthias Clasen's avatar
      Bug 523930 – sort -> search in gtktreeview.c · fa4fb90e
      Matthias Clasen authored
              * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
              glitch, pointed out by Björn Lindqvist.
      
      
      svn path=/trunk/; revision=20159
      fa4fb90e
    • Matthias Clasen's avatar
      Bug 479384 – gtk_selection_data_targets_include_uri docs buglet · 4e89e57d
      Matthias Clasen authored
      2008-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
      
              * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
              doc glitch, pointed out by Christian Persch.
      
      
      svn path=/trunk/; revision=20158
      4e89e57d
    • Matthias Clasen's avatar
      Bug 534694 – Col id in GtkListStore could be out of range · 2bf2b07c
      Matthias Clasen authored
      2008-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 534694 – Col id in GtkListStore could be out of range
      
              * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
              a bit. Pointed out by Jan Arne Petersen.
      
      svn path=/trunk/; revision=20157
      2bf2b07c
    • Matthias Clasen's avatar
      Bug 532497 – Configure problem when cross-compiling · bd4acfe4
      Matthias Clasen authored
      2008-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 532497 – Configure problem when cross-compiling
      
              * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
              pointed out by Marko Lindqvist.
      
      
      svn path=/trunk/; revision=20156
      bd4acfe4
    • Tristan Van Berkom's avatar
      Enhanced pango attribute tests, Added tests for requires tag handling. · cd697bb2
      Tristan Van Berkom authored
      
      	* tests/buildertest.c: Enhanced pango attribute tests, Added tests
      	for requires tag handling.
      
      
      svn path=/trunk/; revision=20154
      cd697bb2
    • Richard Hult's avatar
      Slight coding style cleanup. · 97902c7c
      Richard Hult authored
      2008-05-25  Richard Hult  <richard@imendio.com>
      
      	* gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
      	Slight coding style cleanup.
      
      svn path=/trunk/; revision=20153
      97902c7c
    • Tristan Van Berkom's avatar
      Added support for parsing required toolkit versions (so that ui · 7b0ef209
      Tristan Van Berkom authored
      
      	* gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
      	Added support for parsing required toolkit versions (so that ui descriptions
      	can target specific versions of the backend widget libraries) bug 527612.
      
      	* gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
      	for the added xml tags to the ui description.
      
      
      svn path=/trunk/; revision=20152
      7b0ef209
    • Richard Hult's avatar
      Run gtk_drag_source_info_destroy in an idle, workaround for bug #501588, · 18e3aedb
      Richard Hult authored
      2008-05-25  Richard Hult  <richard@imendio.com>
      
      	* gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
      	gtk_drag_source_info_destroy in an idle, workaround for bug
      	#501588, that makes any code that uses the context returned from
      	gtk_drag_begin() crash, like treeview/iconview dnd.
      	(GdkDragSourceOwner::provideDataForType): only use the data if we
      	got any.
      
      svn path=/trunk/; revision=20151
      18e3aedb
    • Jan Arne Petersen's avatar
      Add GDK_ACTION_MOVE to the drag actions to allow trash (#137717). · 1d946af2
      Jan Arne Petersen authored
      2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
      
      	* gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
      	to the drag actions to allow trash (#137717).
      
      
      svn path=/trunk/; revision=20150
      1d946af2
    • Josselin Mouette's avatar
      check that tracker is actually working before using it. Fixes bug #479197. · d8f3119f
      Josselin Mouette authored
              * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
              check that tracker is actually working before using it. Fixes
              bug #479197.
      
      svn path=/trunk/; revision=20149
      d8f3119f
    • Sven Neumann's avatar
      respect the GTK_NO_WINDOW flag and don't create an output window if it is · d0ffa630
      Sven Neumann authored
      2008-05-25  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
      	(gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
      	and don't create an output window if it is set.
      
      	* gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
      	drawing areas. Fixes bug #519317.
      
      
      svn path=/trunk/; revision=20148
      d0ffa630
    • Jan Arne Petersen's avatar
      Reorder strange window hierarchy of the GtkSpinButton (#466000). · 4ebacd83
      Jan Arne Petersen authored
      2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
      
      	* gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
      	(gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
      	* gtk/gtkentry.h:
      	* gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
      	(gtk_spin_button_realize), (gtk_spin_button_size_allocate),
      	(gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
      	(gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
      	(gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
      	(start_spinning), (gtk_spin_button_button_release),
      	(gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
      	(gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
      	(gtk_spin_button_update): Reorder strange window hierarchy of the
      	GtkSpinButton (#466000).
      
      
      svn path=/trunk/; revision=20147
      4ebacd83
    • Jan Arne Petersen's avatar
      Subtract logical.x from x to fix the wrong position for right and center · 0fea8c56
      Jan Arne Petersen authored
      2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
      
      	* gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
      	fix the wrong position for right and center justified labels with
      	logical.x > 0 (#530255).
      
      
      svn path=/trunk/; revision=20146
      0fea8c56
    • Jan Arne Petersen's avatar
      Ignore G_IO_ERROR_FAILED_HANDLED errors (#532262). · 242f3309
      Jan Arne Petersen authored
      2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
      
      	* gtk/gtkfilechooserdefault.c:
      	(shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
      	errors (#532262).
      
      
      svn path=/trunk/; revision=20145
      242f3309
    • Björn Lindqvist's avatar
      tests/pixbuf-lowmem.c tests/pixbuf-random.c · 6eb51d28
      Björn Lindqvist authored
      2008-05-25  Björn Lindqvist  <bjourne@gmail.com>
      
      	* tests/pixbuf-lowmem.c
      	* tests/pixbuf-random.c
      	* tests/pixbuf-randomly-modified.c
      	* tests/pixbuf-read.c
      	* tests/pixbuf-threads.c
      	* tests/testgtk.c
      	* tests/testtreeview.c: Fix remaining compiler warnings in these
      	files (#523751).
      
      svn path=/trunk/; revision=20144
      6eb51d28
    • Jaap A. Haitsma's avatar
      reviewed by: Matthias Clasen · 53c45d12
      Jaap A. Haitsma authored
      2008-05-25  Jaap A. Haitsma  <jaap@haitsma.org>
      
      	reviewed by: Matthias Clasen
      
      	* gtk/Makefile.am:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/gtkshow.c: (gtk_show_uri):
      	* gtk/gtkshow.h:
      	Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
      
      svn path=/trunk/; revision=20143
      53c45d12
  2. 24 May, 2008 11 commits
  3. 23 May, 2008 4 commits
    • Hans Breuer's avatar
      updated fix c99ism (variable at start of block export functions for window · 0b57c6b9
      Hans Breuer authored
      2008-05-23  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc gtk/makefile.msc.in : updated
      	* gtk/gtkwidget.c : fix c99ism (variable at start of block
      	* gdk/gdk.symbols gtk/gtk.symbols : export functions for window 
      	redirection
      	* gtk/gtkfilechooserdefault.c : #include <locale.h> for 
      	setlocale(LC_ALL, ...)
      
      svn path=/trunk/; revision=20131
      0b57c6b9
    • Tor Lillqvist's avatar
      Add gdk_window_redirect_to_drawable and gdk_window_remove_redirection. · a8b5f3ee
      Tor Lillqvist authored
      2008-05-23  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
      	gdk_window_remove_redirection.
      
      	* gdk/win32/gdkwindow-win32.c (_gdk_window_new)
      	(_gdk_window_reparent): Rename to adapt to the offscreen rendering
      	changes. Remove now unnecessary parameter checks as the caller
      	does that already.
      
      	* gtk/gtk.symbols: Add gtk_widget_get_snapshot.
      
      
      svn path=/trunk/; revision=20130
      a8b5f3ee
    • Tor Lillqvist's avatar
      Don't do anything if style doesn't change. Improve debugging output. · 5b8f0faa
      Tor Lillqvist authored
      2008-05-23  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
      	anything if style doesn't change. Improve debugging output.
      
      
      svn path=/trunk/; revision=20129
      5b8f0faa
    • Michael Natterer's avatar
      perf/widgets.h tests/print-editor.c tests/prop-editor.h · c75c6bf4
      Michael Natterer authored
      2008-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* perf/widgets.h
      	* tests/print-editor.c
      	* tests/prop-editor.h
      	* tests/testmountoperation.c
      	* tests/testmultidisplay.c
      	* tests/testnouiprint.c
      	* tests/testprint.c
      	* tests/testprintfileoperation.h
      	* tests/testtreesort.c
      	* tests/textbuffertest.c: include <gtk/gtk.h> instead of single
      	files. Remove some redundant includes.
      
      
      svn path=/trunk/; revision=20128
      c75c6bf4