1. 26 Jan, 2008 1 commit
  2. 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
  3. 24 Jan, 2008 1 commit
  4. 22 Jan, 2008 2 commits
  5. 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
  6. 17 Jan, 2008 1 commit
  7. 16 Jan, 2008 3 commits
  8. 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
  9. 14 Jan, 2008 8 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
    • Mathias Hasselmann's avatar
      Explain name choice for gtk_tool_item_toolbar_reconfigured. · 7027d8fc
      Mathias Hasselmann authored
      * gtk/gtktoolitem.c: Add comment expaining name choice for
      gtk_tool_item_toolbar_reconfigured.
      
      svn path=/trunk/; revision=19362
      7027d8fc
  10. 13 Jan, 2008 1 commit
  11. 12 Jan, 2008 2 commits
  12. 11 Jan, 2008 1 commit
  13. 10 Jan, 2008 9 commits
    • Tor Lillqvist's avatar
      modules/other/gail/libgail-util/Makefile.am Link with gtktargetlib and · a39f6c46
      Tor Lillqvist authored
      2008-01-10  Tor Lillqvist  <tml@novell.com>
      
      	* modules/other/gail/libgail-util/Makefile.am
      	* modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
      	gdktargetlib.
      
      
      svn path=/trunk/; revision=19348
      a39f6c46
    • Tor Lillqvist's avatar
      Build defaultvaluetest only on Unix as it uses gtkprintunixdialog API. · 01369cf3
      Tor Lillqvist authored
      2008-01-10  Tor Lillqvist  <tml@novell.com>
      
      	* tests/Makefile.am: Build defaultvaluetest only on Unix as it
      	uses gtkprintunixdialog API.
      
      
      svn path=/trunk/; revision=19347
      01369cf3
    • Tor Lillqvist's avatar
      gdk/win32/gdkdisplay-win32.c gdk/win32/gdkglobals-win32.c · 8dab0b93
      Tor Lillqvist authored
      2008-01-10  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkdisplay-win32.c
      	* gdk/win32/gdkglobals-win32.c
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkscreen-win32.c
      	* gdk/win32/gdkwindow-win32.c: Implement
      	gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
      	and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
      	Iwamoto. (#505753)
      
      
      svn path=/trunk/; revision=19346
      8dab0b93
    • Cody Russell's avatar
      Properly ref/unref windows and parents. (#506769) · 4dc47ed7
      Cody Russell authored
      2008-01-10  Cody Russell  <bratsche@gnome.org>
      
              * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
              Properly ref/unref windows and parents.  (#506769)
      
      
      svn path=/trunk/; revision=19344
      4dc47ed7
    • Richard Hult's avatar
      Move the tracking rect workaround from here... · adad4cf8
      Richard Hult authored
      2008-01-10  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
      	(gdk_window_hide), (move_resize_window_internal): Move the
      	tracking rect workaround from here...
      
      	* gdk/quartz/GdkQuartzWindow.c:
      	* gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
      	movements during showing/hiding operations. Fixes bug #508516.
      
      svn path=/trunk/; revision=19342
      adad4cf8
    • Michael Natterer's avatar
      add these functions to make it build again. · d2931667
      Michael Natterer authored
      2008-01-10  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/directfb/gdkscreen-directfb.c
      	(gdk_screen_get_monitor_width_mm)
      	(gdk_screen_get_monitor_height_mm)
      	(gdk_screen_get_monitor_plug_name): add these functions to make
      	it build again.
      
      
      svn path=/trunk/; revision=19340
      d2931667
    • Emmanuele Bassi's avatar
      Fix possible recursion by resetting the idle source id. (#507605, William · 8b370098
      Emmanuele Bassi authored
      2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchoosermenu.c:
      	(idle_populate_func), (idle_populate_clean_up): Fix possible
      	recursion by resetting the idle source id. (#507605, William
      	Pitcock)
      
      svn path=/trunk/; revision=19339
      8b370098
    • Kristian Rietveld's avatar
      fully initialize GdkWindowAttr to avoid valgrind warnings. (#507751, patch · c7d28a02
      Kristian Rietveld authored
      2008-01-10  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
      	(_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
      	avoid valgrind warnings.  (#507751, patch from Christian Persch).
      
      
      svn path=/trunk/; revision=19333
      c7d28a02
    • Kristian Rietveld's avatar
      Fix a leak of the path (#504611, patch from Sadrul Habib Chowdhury). · 496d3301
      Kristian Rietveld authored
      2008-01-10  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
      	a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
      
      
      svn path=/trunk/; revision=19332
      496d3301