1. 18 Jun, 2008 8 commits
    • Michael Natterer's avatar
      deprecate GtkDestroyNotify. · fe8a946e
      Michael Natterer authored
      2008-06-18  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
      
      	* gtk/gtkactiongroup.[ch]
      	* gtk/gtkcombobox.[ch]
      	* gtk/gtkcontainer.[ch]
      	* gtk/gtkliststore.[ch]
      	* gtk/gtkmain.[ch]
      	* gtk/gtkmenu.c
      	* gtk/gtkstock.[ch]
      	* gtk/gtktreedatalist.[ch]
      	* gtk/gtktreemodelfilter.[ch]
      	* gtk/gtktreemodelsort.[ch]
      	* gtk/gtktreeprivate.h
      	* gtk/gtktreeselection.[ch]
      	* gtk/gtktreesortable.[ch]
      	* gtk/gtktreestore.[ch]
      	* gtk/gtktreeview.[ch]
      	* gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
      
      
      svn path=/trunk/; revision=20448
      fe8a946e
    • Michael Natterer's avatar
      some more undeprecation. · 060948a4
      Michael Natterer authored
      2008-06-18  Michael Natterer  <mitch@imendio.com>
      
      	* tests/testgtk.c: some more undeprecation.
      
      
      svn path=/trunk/; revision=20447
      060948a4
    • Michael Natterer's avatar
      deprecate GtkType, GtkSignalFunc and GTK_SIGNAL_FUNC(). · 9d210427
      Michael Natterer authored
      2008-06-18  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
      	GTK_SIGNAL_FUNC().
      
      	(struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
      
      
      svn path=/trunk/; revision=20446
      9d210427
    • Michael Natterer's avatar
      gailimage.c (gail_image_get_image_size) · 1a23e150
      Michael Natterer authored
      2008-06-18  Michael Natterer  <mitch@imendio.com>
      
      	* gailimage.c (gail_image_get_image_size)
      	* gailpixmap.c (gail_pixmap_get_image_size):
      	s/gdk_window_get_size/gdk_drawable_get_size/
      
      
      svn path=/trunk/; revision=20445
      1a23e150
    • Michael Natterer's avatar
      deprecate gtk_type_class(). · 73800758
      Michael Natterer authored
      2008-06-18  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
      
      	* gtk/gtk.symbols: changed accordingly.
      
      	* gtk/gtksettings.c (gtk_settings_install_property)
      	(gtk_settings_install_property_parser): get rid of using
      	gtk_type_class() by keeping a static reference to GtkSettingsClass
      	around in both functions and passing that pointer on to
      	settings_install_property_parser().
      
      	* tests/testgtk.c: use g_type_class_ref()/unref() instead of
      	gtk_type_class().
      
      	* gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
      	gtktypeutils.h.
      
      
      svn path=/trunk/; revision=20444
      73800758
    • Johan Dahlin's avatar
      Add deprecated version and change the deprecation markup used by ref/unref · 78c88e77
      Johan Dahlin authored
      2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkstyle.c: Add deprecated version
          and change the deprecation markup used by ref/unref 
      
      
      svn path=/trunk/; revision=20443
      78c88e77
    • Johan Dahlin's avatar
      Add deprecated versions and fixup markup. · 7c45f6f5
      Johan Dahlin authored
      2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkwidget.c: 
          Add deprecated versions and fixup markup.
      
      
      svn path=/trunk/; revision=20442
      7c45f6f5
    • Johan Dahlin's avatar
      Don't markup deprecated in italics. · 12934f68
      Johan Dahlin authored
      2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkaboutdialog.c:
          * gtk/gtkbutton.c (gtk_button_class_init):
          Don't markup deprecated in italics.
      
      
      svn path=/trunk/; revision=20441
      12934f68
  2. 17 Jun, 2008 25 commits
    • Carlos Garnacho's avatar
      Remove GtkFileSystemError, use GtkFileChooserError instead. (#538378, · 6bb24bf6
      Carlos Garnacho authored
      2008-06-18  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
              GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
      
      svn path=/trunk/; revision=20440
      6bb24bf6
    • Michael Natterer's avatar
      undeprecate. · 5bca232e
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* examples/gtkdial/gtkdial.[ch]: undeprecate.
      
      
      svn path=/trunk/; revision=20439
      5bca232e
    • Michael Natterer's avatar
      remove bogus extern declaration of non-existing function · 07bf0bdb
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkobject.c: remove bogus extern declaration of non-existing
      	function gtk_object_init_type().
      
      
      svn path=/trunk/; revision=20438
      07bf0bdb
    • Michael Natterer's avatar
      gail.c s/gtk_type_class/g_type_class_ref/ · 1333ad2c
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gail.c
      	* gailtoplevel.c: s/gtk_type_class/g_type_class_ref/
      
      	* Makefile.am: add GDK_DISABLE_DEPRECATED to CPPFLAGS.
      
      
      svn path=/trunk/; revision=20437
      1333ad2c
    • Michael Natterer's avatar
      s/GtkType/GType/ · 554e1eec
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkbindings.c (gtk_binding_entry_add_signal):
      	* gtk/gtktoolbutton.c (gtk_tool_button_get_type): 
      	* examples/gtkdial/gtkdial.h (gtk_dial_get_type): 
      	s/GtkType/GType/
      
      
      svn path=/trunk/; revision=20436
      554e1eec
    • Tor Lillqvist's avatar
      Need to do the GTK_DISABLE_DEPRECATED #undef/#define dance here, too, · 293ed565
      Tor Lillqvist authored
      2008-06-17  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
      	#undef/#define dance here, too, because
      	gtk_notebook_set_group_id() is deprecated but used here before it
      	is defined, and gcc complains about conflicting type from the
      	implicit int declaration when it sees the actual void definition.
      
      
      svn path=/trunk/; revision=20435
      293ed565
    • Tor Lillqvist's avatar
      Don't use the deprecated GTK_* GtkType macros. · 7ff875bb
      Tor Lillqvist authored
      2008-06-17  Tor Lillqvist  <tml@novell.com>
      
      	* modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
      	GtkType macros.
      
      
      svn path=/trunk/; revision=20434
      7ff875bb
    • Michael Natterer's avatar
      build with GTK_DISABLE_DEPRECATED. · bd69ea0a
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
      
      	* gtk/gtkclist.c
      	* gtk/gtkcombo.c
      	* gtk/gtkctree.c
      	* gtk/gtklist.c
      	* gtk/gtklistitem.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtktext.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
      	actually use deprecated symbols (not just types or macros),
      	#define it again before #include "gtkalias.h" so the symbols match
      	and the beast links.
      
      
      svn path=/trunk/; revision=20433
      bd69ea0a
    • Paolo Borelli's avatar
      more tests for GtkRecentManager. · 96d61db4
      Paolo Borelli authored
      2008-06-17  Paolo Borelli  <pborelli@katamail.com>
      
      	* gtk/tests/recentmanager.c: more tests for GtkRecentManager.
      
      svn path=/trunk/; revision=20431
      96d61db4
    • Michael Natterer's avatar
      modules/input/gtkimcontextmultipress.h modules/input/gtkimcontextthai.h · 0b9ee4a4
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* modules/input/gtkimcontextmultipress.h
      	* modules/input/gtkimcontextthai.h
      	* modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
      	type checking macros.
      
      
      svn path=/trunk/; revision=20430
      0b9ee4a4
    • Michael Natterer's avatar
      really move the GtkType typedef to an undeprecated section. · e96a8806
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktypeutils.h: really move the GtkType typedef to an
      	undeprecated section.
      
      
      svn path=/trunk/; revision=20429
      e96a8806
    • Michael Natterer's avatar
      deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST, GTK_CHECK_GET_CLASS, · 8676c45d
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST,	GTK_CHECK_CLASS_CAST,
      	GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
      	Move the GtkType typedef to an undeprecated section.
      
      
      svn path=/trunk/; revision=20428
      8676c45d
    • Michael Natterer's avatar
      use G_TYPE macros for type checking instead of GTK_CHECK ones because it's · ea80bf60
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkprogress.h: use G_TYPE macros for type checking instead
      	of GTK_CHECK ones because it's the parent class of an undeprecated
      	class and the GTK_CHECK stuff will soon be deprecated.
      
      
      svn path=/trunk/; revision=20427
      ea80bf60
    • Michael Natterer's avatar
      gtk/gtkfilesel.c gtk/gtkinputdialog.c gtk/gtkmenutoolbutton.c · d6ebf181
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkfilesel.c
      	* gtk/gtkinputdialog.c
      	* gtk/gtkmenutoolbutton.c
      	* gtk/gtkoptionmenu.c
      	* gtk/gtktoolitem.c
      	* gtk/gtktooltips.c: add or move around
      	#undef GTK_DISABLE_DEPRECATED so it's possible to build without
      	deprecated stuff again (with the minor glitch that it doesn't
      	link ;) but at least it's a tool to keep the code clean).
      
      
      svn path=/trunk/; revision=20426
      d6ebf181
    • Emmanuele Bassi's avatar
      Fix dumb typo in the previous commit. · 21284ce9
      Emmanuele Bassi authored
      2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentmanager.c:
      	(gtk_recent_manager_remove_item): Fix dumb typo in the previous
      	commit.
      
      svn path=/trunk/; revision=20425
      21284ce9
    • Emmanuele Bassi's avatar
      Increase the consistency of the errors returned by GtkRecentManager. · 8bab0d7d
      Emmanuele Bassi authored
      2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentmanager.c:
      	(gtk_recent_manager_remove_item),
      	(gtk_recent_manager_move_item): Increase the consistency of the
      	errors returned by GtkRecentManager. (Paolo Borelli)
      
      svn path=/trunk/; revision=20424
      8bab0d7d
    • Paolo Borelli's avatar
      add some unit tests for GtkRecentManager. · 72a9cc89
      Paolo Borelli authored
      2008-06-17  Paolo Borelli  <pborelli@katamail.com>
      
      	* gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
      
      
      svn path=/trunk/; revision=20423
      72a9cc89
    • Emmanuele Bassi's avatar
      Consistently use the same error when removing a URI from an empty · 88c46942
      Emmanuele Bassi authored
      2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentmanager.c:
      	(gtk_recent_manager_remove_item): Consistently use the same
      	error when removing a URI from an empty GtkRecentManager.
      
      svn path=/trunk/; revision=20422
      88c46942
    • Michael Natterer's avatar
      remove static integer variables which hold the number of members in · 40b6173a
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkfilechooserdefault.c: remove static integer variables
      	which hold the number of members in GtkTargetEntry arrays and use
      	G_N_ELEMENTS() directly instead.
      
      
      svn path=/trunk/; revision=20421
      40b6173a
    • Michael Natterer's avatar
      move some deprecated symbols into #ifndef GTK_DISABLE_DEPRECATED. · e8b84723
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.symbols: move some deprecated symbols into
      	#ifndef GTK_DISABLE_DEPRECATED.
      
      
      svn path=/trunk/; revision=20420
      e8b84723
    • Emmanuele Bassi's avatar
      Remove the GtkRecentManager screen dance, as it has been deprecated since · ea51ac13
      Emmanuele Bassi authored
      2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkfilechooserdefault.c:
      	(gtk_file_chooser_default_init),
      	(gtk_file_chooser_default_constructor),
      	(gtk_file_chooser_default_screen_changed),
      	(recent_start_loading): Remove the GtkRecentManager screen
      	dance, as it has been deprecated since 2.12. Now we get the
      	GtkRecentManager singleton whewn we create the FileChooserDefault
      	instance. (Michael Natterer)
      
      svn path=/trunk/; revision=20419
      ea51ac13
    • Michael Natterer's avatar
      cast menu's toplevel to GtkWindow when passing to · 4d4e558e
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
      	toplevel to GtkWindow when passing to gtk_window_set_type_hint().
      
      
      svn path=/trunk/; revision=20417
      4d4e558e
    • Michael Natterer's avatar
      #undef GTK_DISABLE_DEPRECATED, clean up includes a bit. · 86f27564
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
      	includes a bit.
      
      	* gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
      	in via deprecated headers.
      
      
      svn path=/trunk/; revision=20416
      86f27564
    • Tor Lillqvist's avatar
      Justify my last entry. · 6f368a54
      Tor Lillqvist authored
      svn path=/trunk/; revision=20415
      6f368a54
    • Matthias Clasen's avatar
      Protect against XKB being stupid. Reported by Pedro Villavicencio. · 080253c2
      Matthias Clasen authored
              * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
              against XKB being stupid. Reported by Pedro Villavicencio.
      
      
      
      svn path=/trunk/; revision=20413
      080253c2
  3. 16 Jun, 2008 7 commits