1. 04 Aug, 2008 40 commits
    • Tor Lillqvist's avatar
      Don't need to declare IPrintDialogCallback with mingw64 either. It seems · 9be83820
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtkprintoperation-win32.c: Don't need to declare
      	IPrintDialogCallback with mingw64 either. It seems to come with
      	newer versions of the headers.
      
      
      svn path=/trunk/; revision=21001
      9be83820
    • Tor Lillqvist's avatar
      Bug 544684 - Win64 issue, window handles are assumed to be 32-bit · a1e3946f
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
      
      	* gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
      	as the GdkNativeWindow parameter to
      	gtk_window_remove_embedded_xid(). Debugging printout format fixes.
      
      	* gtk/gtkwin32embed.h
      	* gtk/gtkwin32embed.c: Change the types of wparam and lparam
      	parameters to actually be WPARAM and LPARAM.
      
      	* gtk/gtkplug-win32.c: Adapt accordingly.
      
      
      svn path=/trunk/; revision=21000
      a1e3946f
    • Matthias Clasen's avatar
      Forgotten file · 8d41f35b
      Matthias Clasen authored
      svn path=/trunk/; revision=20999
      8d41f35b
    • Matthias Clasen's avatar
      Forgotten commit · 7e59f8b3
      Matthias Clasen authored
      svn path=/trunk/; revision=20998
      7e59f8b3
    • Matthias Clasen's avatar
      Bug 382291 – Automatically dim the combobox when the model is empty · 7d857577
      Matthias Clasen authored
      2008-08-04  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 382291 – Automatically dim the combobox when the model is empty
      
              * gtk/gtk.symbols:
              * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
              property with getter and setter to control the sensitity of
              empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
              Christian Dywan and others.
      
              * README.in: Add a note about automatic combobox sensitivity.
      
      
      svn path=/trunk/; revision=20997
      7d857577
    • Tor Lillqvist's avatar
      Enclose ?: expression with parens so cast covers all of it. · b97d6816
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/updateiconcache.c (write_bucket): Enclose ?: expression
      	with parens so cast covers all of it.
      
      
      svn path=/trunk/; revision=20996
      b97d6816
    • Matthias Clasen's avatar
      Improve a string · 785b5f1b
      Matthias Clasen authored
      svn path=/trunk/; revision=20995
      785b5f1b
    • Tor Lillqvist's avatar
      Bug 544684 - Win64 issue, window handles are assumed to be 32-bit · d6ab77ea
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
      
      	* gdk/win32/gdkcursor-win32.c
      	* gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
      	versa to avoid gcc 4.4 signedness warnings.
      
      	* gdk/win32/gdkevents-win32.c: Add some guchar and char pointer
      	casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
      	values in debugging output using the %p format.
      	
      	* gdk/win32/gdkkeys-win32.c
      	* gdk/win32/gdkfont-win32.c
      	* gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
       
      	* gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
      	SetWindowLong().
      
      	* gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
      	HANDLE on Win64.
      
      
      svn path=/trunk/; revision=20994
      d6ab77ea
    • Tor Lillqvist's avatar
      Bug 544684 - Win64 issue, window handles are assumed to be 32-bit · a860ec7d
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
      
      	* gdk/win32/gdkproperty-win32.c
      	* gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
      	casts to get rid of gcc 4.4 warnings. Print GdkAtom values in
      	debugging output using the %p format.
      
      
      svn path=/trunk/; revision=20993
      a860ec7d
    • Tor Lillqvist's avatar
      Bug 544684 - Win64 issue, window handles are assumed to be 32-bit · eff4be5c
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
      
      	* gtk/gtkwindow.h
      	* gtk/gtkwindow.c: Change the type of the xid parameter of the
      	internal gtk_window_remove_embedded_xid() and
      	gtk_window_add_embedded_xid() functions from guint to
      	GdkNativeWindow.
      
      	* gtk/gtkwindow.c (send_client_message_to_embedded_windows):
      	Instead of GPOINTER_TO_UINT(), just cast the gpointer to
      	GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
      	Win64.
      
      
      svn path=/trunk/; revision=20992
      eff4be5c
    • Tor Lillqvist's avatar
      Bug 544684 - Win64 issue, window handles are assumed to be 32-bit · f4d9ce22
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
      
      	* gdk/gdkselection.h
      	* gdk/gdkselection.c
      	* gdk/win32/gdkselection-win32.c
      	* gdk/x11/gdkselection-x11.c: Change type of the requestor
      	window id parameter of gdk_selection_send_notify_for_display()
      	and gdk_selection_send_notify() from guint32 to
      	GdkNativeWindow.
      
      	* gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
      	casts to get rid of gcc 4.4 warnings. Print GdkAtom values in
      	debugging output using the %p format.
      
      
      svn path=/trunk/; revision=20991
      f4d9ce22
    • Matthias Clasen's avatar
      Fix make check · 7919814b
      Matthias Clasen authored
      svn path=/trunk/; revision=20990
      7919814b
    • Tor Lillqvist's avatar
      Bug 544684 - Win64 issue, window handles are assumed to be 32-bit · 62b41df9
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
      
      	* gdk/gdkdnd.h
      	* gdk/gdkdnd.c
      	* gdk/win32/gdkdnd-win32.c
      	* gdk/x11/gdkdnd-x11.c: Change return value and type of window id
      	from guint32 to GdkNativeWindow for
      	gdk_drag_get_protocol_for_display() and
      	gdk_drag_get_protocol(). This is not an API break on existing
      	platforms, as GdkNativeWindow has been guint32 for them
      	already.
      
      
      svn path=/trunk/; revision=20989
      62b41df9
    • Tor Lillqvist's avatar
      Bug 544684 - Win64 issue, window handles are assumed to be 32-bit · b1e744b0
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
      
      	* gdk/gdkdnd.h
      	* gdk/gdkdnd.c
      	* gdk/win32/gdkdnd-win32.c
      	* gdk/x11/gdkdnd-x11.c: Change return value and type of window id
      	from guint32 to GdkNativeWindow for
      	gdk_drag_get_protocol_for_display() and
      	gdk_drag_get_protocol(). This is not an API break on existing
      	platforms, as GdkNativeWindow has been guint32 for them
      	already.
      
      
      svn path=/trunk/; revision=20988
      b1e744b0
    • Tor Lillqvist's avatar
      Cast pointers to guintptr, not unsigned long, before doing bit tests on · ad2ea92f
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
      	before doing bit tests on them.
      
      
      svn path=/trunk/; revision=20987
      ad2ea92f
    • Tor Lillqvist's avatar
      Define GDK_NATIVE_WINDOW_POINTER on 32-bit Windows, too. It just makes · 6a5f3cc9
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	* configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
      	Windows, too. It just makes more sense, as a HWND *is* a kind of
      	pointer.
      
      	* gdk/gdkconfig.h.win32: Ditto here.
      
      
      svn path=/trunk/; revision=20986
      6a5f3cc9
    • Björn Lindqvist's avatar
      Bug 534979 – GtkImageMenuItem is a bin but has two children. · 67a8a3a2
      Björn Lindqvist authored
      2008-08-04  Björn Lindqvist  <bjourne@gmail.com>
      
      	Bug 534979 – GtkImageMenuItem is a bin but has two children.
      
      	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
      	include the image widget when iterating over non-internal
      	children. Patch by rainwoodman.
      
      svn path=/trunk/; revision=20985
      67a8a3a2
    • Matthias Clasen's avatar
      Updates · 361a787c
      Matthias Clasen authored
      svn path=/trunk/; revision=20984
      361a787c
    • Matthias Clasen's avatar
      Bump glib dependency · f9504c14
      Matthias Clasen authored
      svn path=/trunk/; revision=20983
      f9504c14
    • Michael Natterer's avatar
      gtk/gtkclist.c gtk/gtkctree.c gtk/gtkpixmap.c get rid of using deprecated · 0ac989bd
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkclist.c
      	* gtk/gtkctree.c
      	* gtk/gtkpixmap.c
      	* gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
      
      	* gtk/gtktext.c: ditto, apart from the text cruft APIs.
      
      
      svn path=/trunk/; revision=20982
      0ac989bd
    • Michael Natterer's avatar
      call gdk_rgb_set_verbose(TRUE) if "gdkrgb" is in the debug flags. · 7261e61f
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
      	"gdkrgb" is in the debug flags.
      
      	* gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
      	here, this function is deprecated and the debug flag didn't work
      	when using GDK properly.
      
      
      svn path=/trunk/; revision=20981
      7261e61f
    • Matthias Clasen's avatar
      Update to handle GEmblem` · 25536faf
      Matthias Clasen authored
      svn path=/trunk/; revision=20980
      25536faf
    • Michael Natterer's avatar
      undeprecate (apart from still using GtkOptionMenu). · 45ac6c4f
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* tests/prop-editor.c: undeprecate (apart from still using
      	GtkOptionMenu).
      
      
      svn path=/trunk/; revision=20979
      45ac6c4f
    • Tor Lillqvist's avatar
      Fix syntax error. · 1486160c
      Tor Lillqvist authored
      2008-08-04  Tor Lillqvist  <tml@novell.com>
      
      	* he.po: Fix syntax error.
      
      
      svn path=/trunk/; revision=20978
      1486160c
    • Michael Natterer's avatar
      gtk/gtkseparatortoolitem.c remove pointless #undef GTK_DISABLE_DEPRECATED. · a3a5bc34
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkseparatortoolitem.c
      	* tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
      
      	* gtk/gtkcalendar.c (calendar_set_display_option): use
      	gtk_calendar_set_display_options() instead of the deprecated
      	gtk_calendar_display_options().
      
      
      svn path=/trunk/; revision=20977
      a3a5bc34
    • Yair Hershkovitz's avatar
      updated hebrew translation · 2a595676
      Yair Hershkovitz authored
      svn path=/trunk/; revision=20976
      2a595676
    • Carlos Garnacho's avatar
      Fix "/* within comment" warning. · 65a53ff2
      Carlos Garnacho authored
      2008-08-04  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
      
      svn path=/trunk/; revision=20975
      65a53ff2
    • Changwoo Ryu's avatar
      Updated Korean translation · a32f8aec
      Changwoo Ryu authored
      svn path=/trunk/; revision=20974
      a32f8aec
    • Carlos Garnacho's avatar
      Set drag window background to be the GtkNotebook background color. This is · e9be9eb1
      Carlos Garnacho authored
      2008-08-04  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
              to be the GtkNotebook background color. This is a workaround to
              prevent black pixels in rounded tabs when reordering. Improves
              #368234.
      
      svn path=/trunk/; revision=20973
      e9be9eb1
    • Carlos Garnacho's avatar
      Deprecate gtk_file_chooser_*_new_with_backend(), since GIO is already used · 7e439efc
      Carlos Garnacho authored
      2008-08-04  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkfilechooserbutton.[ch]:
              * gtk/gtkfilechooserdefault.[ch]:
              * gtk/gtkfilechooserdialog.[ch]:
              * gtk/gtkfilechooserwidget.[ch]: Deprecate
              gtk_file_chooser_*_new_with_backend(), since GIO is already used
              directly. Fixes #545976.
      
      svn path=/trunk/; revision=20972
      7e439efc
    • Carlos Garnacho's avatar
      Make GFile-oriented API public. Fixes #545978. · 02c65db5
      Carlos Garnacho authored
      2008-08-04  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
              #545978.
              * gtk/gtkfilechooserbutton.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkfilechooserutils.c: Update to use public GFile API.
      
      svn path=/trunk/; revision=20971
      02c65db5
    • Michael Natterer's avatar
      build with GTK_DISABLE_DEPRECATED again. · aa435e02
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
      
      	Fix pltcheck.sh by restricting the visibility of deprecated
      	symbols to the places where they are actually used:
      
      	* gtk/gtkclist.c
      	* gtk/gtkctree.c
      	* gtk/gtklistitem.c
      	* gtk/gtklist.c
      	* gtk/gtkprogressbar.c
      	* gtk/gtkpixmap.c
      	* gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
      	__GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
      
      	* gtk/gtkclist.h
      	* gtk/gtkctree.h
      	* gtk/gtklistitem.h
      	* gtk/gtklist.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkprogress.h: make the headers visible if the respective
      	__GTK_FOO_C__ are defined.
      
      
      svn path=/trunk/; revision=20970
      aa435e02
    • Michael Natterer's avatar
      gtk/gtkclist.c gtk/gtklist.c gtk/gtkoldeditable.c gtk/gtkpixmap.c · dbd5b75e
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkclist.c
      	* gtk/gtklist.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
      
      
      svn path=/trunk/; revision=20969
      dbd5b75e
    • Michael Natterer's avatar
      gtk/gtkclist.[ch] gtk/gtkctree.[ch] gtk/gtkitemfactory.[ch] · 906db67f
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkclist.[ch]
      	* gtk/gtkctree.[ch]
      	* gtk/gtkitemfactory.[ch]
      	* gtk/gtkobject.[ch]
      	* gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
      
      
      svn path=/trunk/; revision=20967
      906db67f
    • Sven Neumann's avatar
      update the link color when the "visited" state is changed. · cd8bca1c
      Sven Neumann authored
      2008-08-04  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
      	color when the "visited" state is changed.
      
      
      svn path=/trunk/; revision=20966
      cd8bca1c
    • Michael Natterer's avatar
      move the code of the deprecated gtk_window_set_policy() to a new private · d132b616
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkwindow.c: move the code of the deprecated
      	gtk_window_set_policy() to a new private function
      	gtk_window_set_policy_internal() and call it from
      	gtk_window_set_policy().
      
      	(gtk_window_set_resizable): use the new internal function in order
      	to avoid our own deprecated public API.
      
      
      svn path=/trunk/; revision=20965
      d132b616
    • Michael Natterer's avatar
      move the code of the deprecated gtk_binding_entry_clear() to a new private · 888c3a72
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkbindings.c: move the code of the deprecated
      	gtk_binding_entry_clear() to a new private function
      	gtk_binding_entry_clear_internal() and call it from
      	gtk_binding_entry_clear().
      
      	(_gtk_binding_entry_add_signall)
      	(gtk_binding_parse_bind): use the new internal function in order
      	to avoid our own deprecated public API.
      
      
      svn path=/trunk/; revision=20963
      888c3a72
    • Michael Natterer's avatar
      avoid our own deprecated public API and use · 5a369135
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
      	avoid our own deprecated public API and use
      	gtk_font_selection_get_font_internal() instead of
      	gtk_font_selection_get_font().
      
      	(gtk_font_selection_get_font)
      	(gtk_font_selection_dialog_get_font): Add missing
      	"Deprecated: 2.0" to the api doc comments.
      
      
      svn path=/trunk/; revision=20962
      5a369135
    • Michael Natterer's avatar
      add the generated PNGs to CLEANFILES. · 154f0f56
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
      
      
      svn path=/trunk/; revision=20961
      154f0f56
    • Tor Lillqvist's avatar
      Small improvement. · 1934bff8
      Tor Lillqvist authored
      svn path=/trunk/; revision=20960
      1934bff8