1. 31 Jan, 2008 5 commits
    • Cody Russell's avatar
      Refactored some of the window hiding/showing code from WM_ACTIVATE to · 857fe308
      Cody Russell authored
      2008-01-31  Cody Russell  <bratsche@gnome.org>
      
              * gdk/win32/gdkevents-win32.c:
              Refactored some of the window hiding/showing code from
              WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
              under WM_ACTIVATE was causing the application to go into
              a weird state when the user right-clicked on the taskbar
              entry of a window that was minimized.  (#505928)
      
      
      svn path=/trunk/; revision=19451
      857fe308
    • Cody Russell's avatar
      Change queue_resize() to queue_draw(), and add a check for child2 != NULL · 9e1fbc93
      Cody Russell authored
      2008-01-31  Cody Russell  <bratsche@gnome.org>
      
              * gtk/gtkpaned.c (gtk_paned_set_position):
              Change queue_resize() to queue_draw(), and add a check for
              child2 != NULL in case someone calls this before there is
              a child packed in there.  (#144269 again)
      
      
      svn path=/trunk/; revision=19449
      9e1fbc93
    • Sven Neumann's avatar
      applied patch from Denis Oliver Kropp <dok@directfb.org>. · 53fa8e31
      Sven Neumann authored
      2008-01-31  Sven Neumann  <sven@gimp.org>
      
      	* gdk/directfb/gdkimage-directfb.c 
      (_gdk_directfb_copy_to_image):
      	applied patch from Denis Oliver Kropp <dok@directfb.org>.
      
      
      svn path=/trunk/; revision=19448
      53fa8e31
    • Sven Neumann's avatar
      gdk/directfb/gdkdisplay-directfb.c gdk/directfb/gdkdrawable-directfb.c · 9e528c18
      Sven Neumann authored
      2008-01-31  Sven Neumann  <sven@gimp.org>
      
      	* gdk/directfb/gdkdisplay-directfb.c
      	* gdk/directfb/gdkdrawable-directfb.c
      	* gdk/directfb/gdkprivate-directfb.h
      	* gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
      	Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
      
      
      svn path=/trunk/; revision=19447
      9e528c18
    • Richard Hult's avatar
      Another attempt at fixing focus issues with undecorated windows. Revert · 0ca4891e
      Richard Hult authored
      2008-01-31  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
      	issues with undecorated windows. Revert the change done on
      	2008-01-25 and fix it by using the view's bounds instead. The
      	bounds will always be up to date when setting up the tracking
      	rect, so this should be more robust.
      
      svn path=/trunk/; revision=19445
      0ca4891e
  2. 30 Jan, 2008 3 commits
    • Sven Neumann's avatar
      gdk/directfb/gdkdrawable-directfb.c gdk/directfb/gdkwindow-directfb.c · 4586bc43
      Sven Neumann authored
      2008-01-30  Sven Neumann  <sven@gimp.org>
      
      	* gdk/directfb/gdkdrawable-directfb.c
      	* gdk/directfb/gdkwindow-directfb.c
      	* gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
      	Oliver Kropp <dok@directfb.org>. Adds debug messages using
      	DirectFB's debugging system
      
      
      svn path=/trunk/; revision=19433
      4586bc43
    • Sven Neumann's avatar
      gdk/directfb/gdkdirectfb.h gdk/directfb/gdkdisplay-directfb.c · 49049eb8
      Sven Neumann authored
      2008-01-30  Sven Neumann  <sven@gimp.org>
      
      	* gdk/directfb/gdkdirectfb.h
      	* gdk/directfb/gdkdisplay-directfb.c
      	* gdk/directfb/gdkdrawable-directfb.c
      	* gdk/directfb/gdkim-directfb.c
      	* gdk/directfb/gdkimage-directfb.c
      	* gdk/directfb/gdkinput-directfb.c
      	* gdk/directfb/gdkmain-directfb.c
      	* gdk/directfb/gdkpixmap-directfb.c
      	* gdk/directfb/gdktestutils-directfb.c
      	* gdk/directfb/gdkvisual-directfb.c
      	* gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
      	Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
      	errors and has some cleanups.
      
      
      svn path=/trunk/; revision=19432
      49049eb8
    • Michael Natterer's avatar
      use the right type for "subparser_data" and remove the (gpointer*) cast. · 63af2cd0
      Michael Natterer authored
      2008-01-30  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkbuilderparser.c (parse_custom): use the right type for
      	"subparser_data" and remove the (gpointer*) cast. Fixes bogus
      	aliasing warning.
      
      	* gtk/updateiconcache.c (add_string): cast const gchar* to
      	gpointer when inserting in a GHashTable.
      
      	* tests/testcalendar.c (calendar_detail_cb): remove const from
      	return value since it's a newly allocated string.
      
      	(calendar_update_details): free the detail.
      
      
      svn path=/trunk/; revision=19431
      63af2cd0
  3. 29 Jan, 2008 2 commits
  4. 28 Jan, 2008 4 commits
  5. 26 Jan, 2008 1 commit
  6. 25 Jan, 2008 9 commits
    • Johan Dahlin's avatar
      Restore accidentally removed unsetting of GTK_MODULES. · 09648b36
      Johan Dahlin authored
      2008-01-25  Johan Dahlin  <johan@gnome.org>
      
      	* gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
      	unsetting of GTK_MODULES.
      
      
      svn path=/trunk/; revision=19406
      09648b36
    • Johan Dahlin's avatar
      Handle the case where there is no child text node. (GtkBuilderConverter): · 4c081438
      Johan Dahlin authored
      2008-01-25  Johan Dahlin  <johan@gnome.org>
      
      	* gtk/gtk-builder-convert
      	(GtkBuilderConverter._convert_adjustment): Handle the case where
      	there is no child text node.
      	(GtkBuilderConverter): Allow xml comments in most places.
      
      
      svn path=/trunk/; revision=19405
      4c081438
    • Johan Dahlin's avatar
      Remove the items even if there are no items set. · 3f3425d1
      Johan Dahlin authored
      2008-01-25  Johan Dahlin  <johan@gnome.org>
      
      	* gtk/gtk-builder-convert
      	(GtkBuilderConverter._convert_combobox_items): Remove the items
      	even if there are no items set.
      	(GtkBuilderConverter._add_action_from_menuitem): Convert toggled
      	signals and tooltips for all menu items subclasses and 
      	GtkImageMenuItem:label. 
      	Makes it possible to fully convert and run Jokosher.glade.
      
      
      svn path=/trunk/; revision=19404
      3f3425d1
    • Johan Dahlin's avatar
      Implement accessible support, fixes #454653. · fddc9b85
      Johan Dahlin authored
      2008-01-25  Johan Dahlin  <johan@gnome.org>
      
              * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
              (gtk_widget_buildable_get_internal_child), (free_action),
              (free_relation), (gtk_widget_buildable_parser_finished),
              (accessibility_start_element),
              (gtk_widget_buildable_custom_tag_start),
              (gtk_widget_buildable_custom_finished):
              Implement accessible support, fixes #454653.
      
              * gtk/gtk-builder-convert:
              Add support for migrating old glade files
              
              * tests/buildertest.c: (test_widget), (test_file):
              Add accessible tests and improve the test_file function to display
              toplevels and run dialogs.
      
      
      svn path=/trunk/; revision=19403
      fddc9b85
    • Richard Hult's avatar
      Don't recreate a tracking rect if it didn't change, fixes focus event · 7b8050af
      Richard Hult authored
      2008-01-25  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
      	didn't change, fixes focus event issues for undecorated windows.
      
      svn path=/trunk/; revision=19402
      7b8050af
    • Richard Hult's avatar
      Fix compile warnings (add missing const and remove unused variables). · 41e1be54
      Richard Hult authored
      2008-01-25  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
      	const and remove unused variables).
      
      svn path=/trunk/; revision=19401
      41e1be54
    • Michael Natterer's avatar
      Forgot to mention bug #. · 72bc7eb4
      Michael Natterer authored
      
      svn path=/trunk/; revision=19400
      72bc7eb4
    • Michael Natterer's avatar
      gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h · a362eecc
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkbutton.h
      	* gtk/gtkcellrenderer.h
      	* gtk/gtkimcontext.h
      	* gtk/gtkstyle.h
      	* gtk/gtktoolbar.h
      	* gtk/gtktooltip.h
      	* gtk/gtktreeprivate.h
      	* gtk/gtktreeviewcolumn.h
      	* gtk/gtkwidget.h: add const to constant structs which are passed
      	into GTK+. Also add some forgotten const for const strings.
      
      	* gtk/gtkbutton.c
      	* gtk/gtkcellrenderer.c
      	* gtk/gtkimcontext.c
      	* gtk/gtkstyle.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktooltip.c
      	* gtk/gtktreeview.c
      	* gtk/gtktreeviewcolumn.c
      	* gtk/gtkwidget.c: changed accordingly.
      
      
      svn path=/trunk/; revision=19399
      a362eecc
    • Sven Herzberg's avatar
      Reviewed by Johan Dahlin. · 970a1430
      Sven Herzberg authored
      2008-01-25  Sven Herzberg  <sven@imendio.com>
      
      	Reviewed by Johan Dahlin.
      
      	* gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
      	this is called with something that's not a GtkUIManager
      
      
      svn path=/trunk/; revision=19395
      970a1430
  7. 24 Jan, 2008 1 commit
  8. 22 Jan, 2008 2 commits
  9. 18 Jan, 2008 1 commit
    • Johan Dahlin's avatar
      New method (GtkBuilderConverter._create_object): Conditionally take a node · 6805e872
      Johan Dahlin authored
      2008-01-18  Johan Dahlin  <johan@gnome.org>
      
      	* gtk/gtk-builder-convert (get_property_node): New method
      	(GtkBuilderConverter._create_object): Conditionally take a node as
      	a property value, so don't lose translate/context attributes if they
      	are set. 
      	(GtkBuilderConverter._add_action_from_menuitem): Send in Node as
      	property values instead of strings.
      	(#509153, Erik van Pienbroek)
      
      
      svn path=/trunk/; revision=19383
      6805e872
  10. 17 Jan, 2008 1 commit
  11. 16 Jan, 2008 3 commits
  12. 15 Jan, 2008 1 commit
    • Michael Natterer's avatar
      gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h · 8243e3d4
      Michael Natterer authored
      2008-01-15  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkdisplay.h
      	* gdk/gdkdrawable.h
      	* gdk/gdkevents.h
      	* gdk/gdkpango.h
      	* gdk/gdkregion.h
      	* gdk/gdkrgb.h
      	* gdk/gdkwindow.h: made more struct pointer and array parameters
      	const. GDK should now be constified as far as possible without
      	breaking source compatibility. Includes some minor cleanup like
      	indentation and s/nfoo/n_foo/ (bug #508544).
      
      	* gdk/gdkdisplay.c
      	* gdk/gdkdraw.c
      	* gdk/gdkevents.c
      	* gdk/gdkpango.c
      	* gdk/gdkregion-generic.c
      	* gdk/gdkrgb.c
      	* gdk/directfb/gdkdisplay-directfb.c
      	* gdk/directfb/gdkwindow-directfb.c
      	* gdk/quartz/gdkdisplay-quartz.c
      	* gdk/quartz/gdkwindow-quartz.c
      	* gdk/win32/gdkdisplay-win32.c
      	* gdk/win32/gdkwindow-win32.c
      	* gdk/x11/gdkdisplay-x11.c
      	* gdk/x11/gdkwindow-x11.c: changed accordingly.
      
      
      svn path=/trunk/; revision=19372
      8243e3d4
  13. 14 Jan, 2008 7 commits
    • Michael Natterer's avatar
      add cast to fix const warning. · 7a658c13
      Michael Natterer authored
      2008-01-14  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
      	const warning.
      
      	(gtk_rc_parse_any): change variables to const and introduce
      	another local variable to fix const warnings.
      
      
      svn path=/trunk/; revision=19371
      7a658c13
    • Michael Natterer's avatar
      cast the return value of gdk_screen_get_font_options() to gpointer to get · bbaf1be6
      Michael Natterer authored
      2008-01-14  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
      	of gdk_screen_get_font_options() to gpointer to get rid of const
      	warning.
      
      
      svn path=/trunk/; revision=19370
      bbaf1be6
    • Michael Natterer's avatar
      fix another call to gtk_selection_data_set(). · b16b7fb9
      Michael Natterer authored
      2008-01-14  Michael Natterer  <mitch@imendio.com>
      
      	* tests/testdnd.c (source_drag_data_get): fix another call to
      	gtk_selection_data_set().
      
      
      svn path=/trunk/; revision=19369
      b16b7fb9
    • Michael Natterer's avatar
      fix signedness warning. · 730c907e
      Michael Natterer authored
      2008-01-14  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
      	signedness warning.
      
      
      svn path=/trunk/; revision=19368
      730c907e
    • Michael Natterer's avatar
      remove unused variable. · 824e2c74
      Michael Natterer authored
      2008-01-14  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkiconcache.c (find_image_offset): remove unused variable.
      
      
      svn path=/trunk/; revision=19367
      824e2c74
    • Michael Natterer's avatar
      cast "uris" to guchar* when passing it to gtk_selection_data_set(). · 06c6c39e
      Michael Natterer authored
      2008-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
      	"uris" to guchar* when passing it to gtk_selection_data_set().
      
      
      svn path=/trunk/; revision=19366
      06c6c39e
    • Michael Natterer's avatar
      gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h · 92f86e04
      Michael Natterer authored
      2008-01-14  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdk.h
      	* gdk/gdkcairo.h
      	* gdk/gdkcolor.h
      	* gdk/gdkgc.h
      	* gdk/gdkinternals.h
      	* gdk/gdkregion.h
      	* gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
      	parameters const.
      
      	* gdk/gdkcairo.c
      	* gdk/gdkgc.c
      	* gdk/gdkwindow.c
      	* gdk/gdkrectangle.c
      	* gdk/gdkpolyreg-generic.c
      	* gdk/gdkregion-generic.c
      	* gdk/directfb/gdkcolor-directfb.c
      	* gdk/directfb/gdkgc-directfb.c
      	* gdk/directfb/gdkgeometry-directfb.c
      	* gdk/directfb/gdkwindow-directfb.c
      	* gdk/quartz/gdkcolor-quartz.c
      	* gdk/quartz/gdkgc-quartz.c
      	* gdk/quartz/gdkgeometry-quartz.c
      	* gdk/quartz/gdkwindow-quartz.c
      	* gdk/win32/gdkcolor-win32.c
      	* gdk/win32/gdkgc-win32.c
      	* gdk/win32/gdkgeometry-win32.c
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkwindow-win32.c
      	* gdk/x11/gdkcolor-x11.c
      	* gdk/x11/gdkgc-x11.c
      	* gdk/x11/gdkgeometry-x11.c
      	* gdk/x11/gdkmain-x11.c
      	* gdk/x11/gdkprivate-x11.h
      	* gdk/x11/gdkwindow-x11.c: changed accordingly.
      
      	* gdk/gdkpolyreg-generic.c: uncruftify to have proper function
      	headers.
      
      
      svn path=/trunk/; revision=19365
      92f86e04