summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* build with GTK_DISABLE_DEPRECATED.Michael Natterer2008-06-1713-17/+69
| | | | | | | | | | | | | | | | | | | | | | | | 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
* more tests for GtkRecentManager.Paolo Borelli2008-06-172-2/+102
| | | | | | | | 2008-06-17 Paolo Borelli <pborelli@katamail.com> * gtk/tests/recentmanager.c: more tests for GtkRecentManager. svn path=/trunk/; revision=20431
* modules/input/gtkimcontextmultipress.h modules/input/gtkimcontextthai.hMichael Natterer2008-06-174-24/+29
| | | | | | | | | | | | 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
* really move the GtkType typedef to an undeprecated section.Michael Natterer2008-06-172-4/+7
| | | | | | | | | | 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
* deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST, GTK_CHECK_GET_CLASS,Michael Natterer2008-06-172-6/+11
| | | | | | | | | | | 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
* use G_TYPE macros for type checking instead of GTK_CHECK ones because it'sMichael Natterer2008-06-172-5/+11
| | | | | | | | | | | 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
* gtk/gtkfilesel.c gtk/gtkinputdialog.c gtk/gtkmenutoolbutton.cMichael Natterer2008-06-177-15/+40
| | | | | | | | | | | | | | | | | 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
* Fix dumb typo in the previous commit.Emmanuele Bassi2008-06-172-1/+7
| | | | | | | | | | 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
* Increase the consistency of the errors returned by GtkRecentManager.Emmanuele Bassi2008-06-172-5/+31
| | | | | | | | | | | 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
* add some unit tests for GtkRecentManager.Paolo Borelli2008-06-173-0/+165
| | | | | | | | | 2008-06-17 Paolo Borelli <pborelli@katamail.com> * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager. svn path=/trunk/; revision=20423
* Consistently use the same error when removing a URI from an emptyEmmanuele Bassi2008-06-172-3/+9
| | | | | | | | | | 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
* remove static integer variables which hold the number of members inMichael Natterer2008-06-172-14/+10
| | | | | | | | | | | 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
* move some deprecated symbols into #ifndef GTK_DISABLE_DEPRECATED.Michael Natterer2008-06-172-2/+9
| | | | | | | | | | 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
* Remove the GtkRecentManager screen dance, as it has been deprecated sinceEmmanuele Bassi2008-06-172-26/+12
| | | | | | | | | | | | | | | 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
* cast menu's toplevel to GtkWindow when passing toMichael Natterer2008-06-172-1/+6
| | | | | | | | | | 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
* #undef GTK_DISABLE_DEPRECATED, clean up includes a bit.Michael Natterer2008-06-173-1/+12
| | | | | | | | | | | | | 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
* Justify my last entry.Tor Lillqvist2008-06-171-4/+4
| | | | svn path=/trunk/; revision=20415
* Protect against XKB being stupid. Reported by Pedro Villavicencio.Matthias Clasen2008-06-172-1/+8
| | | | | | | | | * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect against XKB being stupid. Reported by Pedro Villavicencio. svn path=/trunk/; revision=20413
* use g_object_ref() and unref() instead of the deprecated gtk_widget_ref()Michael Natterer2008-06-162-5/+10
| | | | | | | | | | 2008-06-17 Michael Natterer <mitch@imendio.com> * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref() and unref() instead of the deprecated gtk_widget_ref() and unref(). svn path=/trunk/; revision=20411
* removed function drag_begin_cb(), which was in svn since 2.8 but was neverMichael Natterer2008-06-162-8/+5
| | | | | | | | | | 2008-06-16 Michael Natterer <mitch@imendio.com> * gtk/gtkentry.c: removed function drag_begin_cb(), which was in svn since 2.8 but was never used. svn path=/trunk/; revision=20409
* use gtk_binding_entry_clear() instead of gtk_binding_entry_add() (theMichael Natterer2008-06-162-1/+7
| | | | | | | | | | | 2008-06-16 Michael Natterer <mitch@imendio.com> * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use gtk_binding_entry_clear() instead of gtk_binding_entry_add() (the former is deprecated and #defined to gtk_binding_entry_clear) svn path=/trunk/; revision=20408
* don't include the deprecated (and unused) "gtkmarshal.h".Michael Natterer2008-06-162-1/+5
| | | | | | | | | | 2008-06-16 Michael Natterer <mitch@imendio.com> * gtk/gtkprintoperation-unix.c: don't include the deprecated (and unused) "gtkmarshal.h". svn path=/trunk/; revision=20407
* Bug 538182 – pango_cairo_context_update_layout is not noop afterBehdad Esfahbod2008-06-162-2/+12
| | | | | | | | | | | | | 2008-06-16 Behdad Esfahbod <behdad@gnome.org> Bug 538182 – pango_cairo_context_update_layout is not noop after gtk_widget_create_pango_layout * gtk/gtksettings.c (settings_update_font_options): Make sure all font option fields are set to non-DEFAULT values. svn path=/trunk/; revision=20406
* gtk/gtkfontsel.c gtk/gtkrc.c gtk/gtkstyle.c use g_object_unref() insteadMichael Natterer2008-06-165-9/+17
| | | | | | | | | | | | | 2008-06-16 Michael Natterer <mitch@imendio.com> * gtk/gtkfontsel.c * gtk/gtkrc.c * gtk/gtkstyle.c * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated gtk_rc_style_unref(). svn path=/trunk/; revision=20405
* use _gtk_marshal_BOOLEAN__VOID instead of the deprecatedMichael Natterer2008-06-162-2/+7
| | | | | | | | | | | 2008-06-16 Michael Natterer <mitch@imendio.com> * gtk/gtkcombobox.c (gtk_combo_box_class_init): use _gtk_marshal_BOOLEAN__VOID instead of the deprecated gtk_marshal_BOOLEAN__VOID. svn path=/trunk/; revision=20404
* gtk/gtkcellrendereraccel.h gtk/gtkiconview.h use G_TYPE macros instead ofMichael Natterer2008-06-164-19/+29
| | | | | | | | | | | | | | | 2008-06-16 Michael Natterer <mitch@imendio.com> * gtk/gtkcellrendereraccel.h * gtk/gtkiconview.h * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK macros for type checking. (gtk_object_get_type): change prototype to return GType instead of GtkType. svn path=/trunk/; revision=20403
* Increase verbiage.Tor Lillqvist2008-06-161-3/+5
| | | | svn path=/trunk/; revision=20402
* Typo.Tor Lillqvist2008-06-161-1/+1
| | | | svn path=/trunk/; revision=20401
* Add some symlinks to the builtin icon themeMatthias Clasen2008-06-162-3/+21
| | | | svn path=/trunk/; revision=20399
* Bug 538362 - Get Win32 icons back in the file chooserTor Lillqvist2008-06-162-0/+39
| | | | | | | | | | | | | | 2008-06-16 Tor Lillqvist <tml@novell.com> Bug 538362 - Get Win32 icons back in the file chooser * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a reference to an icon resource in a DLL or .EXE as in the Registry. In that case, extract the icon and convert to a GdkPixbuf. Patch by Hans Breuer. svn path=/trunk/; revision=20398
* Add icons that are used by GtkVolumeButtonMatthias Clasen2008-06-166-0/+11
| | | | svn path=/trunk/; revision=20397
* remove GtkTooltips member from the GtkFileChooserDefault struct.Michael Natterer2008-06-163-11/+11
| | | | | | | | | | | | | 2008-06-16 Michael Natterer <mitch@imendio.com> * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the GtkFileChooserDefault struct. * gtk/gtkfilechooserdefault.c: don't allocate and free the GtkTooltips. svn path=/trunk/; revision=20396
* Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the iconCarlos Garnacho2008-06-162-20/+17
| | | | | | | | | | | | | 2008-06-16 Carlos Garnacho <carlos@imendio.com> Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon anymore * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property): Allow again setting any of the properties to render an image back to NULL. svn path=/trunk/; revision=20395
* When pixel-size is specified, use GTK_ICON_LOOKUP_FORCE_SIZE when loadingMatthias Clasen2008-06-162-3/+14
| | | | | | | | | | 2008-06-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimage.c: When pixel-size is specified, use GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons. svn path=/trunk/; revision=20394
* Return full path here as expected, not just the basename.Carlos Garnacho2008-06-154-57/+22
| | | | | | | | | | | | | | | | | | | 2008-06-15 Carlos Garnacho <carlos@imendio.com> * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full path here as expected, not just the basename. * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_update_current_folder): Ensure that we keep a reference to file, since it can be destroyed when switching back to browse mode. * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home and desktop directories are dealt by the filechooser as normal files, not volumes, so the icon for these is handled directly by GIO. (_gtk_file_system_volume_render_icon): Update caller. svn path=/trunk/; revision=20393
* Fix docsMatthias Clasen2008-06-151-1/+1
| | | | svn path=/trunk/; revision=20392
* Add a gicon propertyMatthias Clasen2008-06-152-79/+109
| | | | svn path=/trunk/; revision=20391
* Initialize hwnd to NULL. This fixes OpenClipboard() failure and, accordingCody Russell2008-06-152-1/+9
| | | | | | | | | | | | | 2008-06-14 Cody Russell <bratsche@gnome.org> * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets): Initialize hwnd to NULL. This fixes OpenClipboard() failure and, according to MSDN docs, associates the open clipboard with the current task. (#378158, reported by Andreas Köhler) svn path=/trunk/; revision=20388
* Bump versionMatthias Clasen2008-06-142-2/+4
| | | | svn path=/trunk/; revision=20387
* 2.13.3GTK_2_13_3Matthias Clasen2008-06-14203-57875/+56570
| | | | svn path=/trunk/; revision=20385
* UpdatesMatthias Clasen2008-06-131-3/+6
| | | | svn path=/trunk/; revision=20384
* Here tooMatthias Clasen2008-06-132-2/+4
| | | | svn path=/trunk/; revision=20383
* Remove no longer existing filesMatthias Clasen2008-06-132-2/+4
| | | | svn path=/trunk/; revision=20382
* Add some docsMatthias Clasen2008-06-132-2/+20
| | | | svn path=/trunk/; revision=20381
* Fix doc typosMatthias Clasen2008-06-132-6/+10
| | | | svn path=/trunk/; revision=20380
* Avoid PLT entriesMatthias Clasen2008-06-132-0/+7
| | | | svn path=/trunk/; revision=20379
* Really make GtkFileSystem private by _-prefixing all functions.Matthias Clasen2008-06-138-383/+394
| | | | | | | | | | | | | | * gtk/gtkfilechooserbutton.c: * gtk/gtkfilechooserdefault.c: * gtk/gtkfilechooserentry.c: * gtk/gtkfilesystem.c: * gtk/gtkfilesystem.h: * gtk/gtkfilesystemmodel.c: * gtk/gtkpathbar.c: Really make GtkFileSystem private by _-prefixing all functions. svn path=/trunk/; revision=20378
* UpdatesMatthias Clasen2008-06-133-23/+33
| | | | svn path=/trunk/; revision=20377
* Updates`Matthias Clasen2008-06-132-0/+49
| | | | svn path=/trunk/; revision=20376
* gtk/gtkcellrendereraccel.h gtk/gtkfilechooser.h gtk/gtkfilechooserdialog.hMichael Natterer2008-06-1323-37/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-13 Michael Natterer <mitch@imendio.com> * gtk/gtkcellrendereraccel.h * gtk/gtkfilechooser.h * gtk/gtkfilechooserdialog.h * gtk/gtkfilechooserwidget.h * gtk/gtkmenutoolbutton.h * gtk/gtkpagesetup.h * gtk/gtkpapersize.h * gtk/gtkprintcontext.h * gtk/gtkprintoperation.h * gtk/gtkprintoperationpreview.h * gtk/gtkprintsettings.h * gtk/gtkradiotoolbutton.h * gtk/gtkrecentchooser.h * gtk/gtkrecentchooserdialog.h * gtk/gtkrecentchoosermenu.h * gtk/gtkrecentchooserwidget.h * gtk/gtkseparatortoolitem.h * gtk/gtkshow.h * gtk/gtktoggletoolbutton.h * gtk/gtktoolbar.h * gtk/gtktoolbutton.h * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers. svn path=/trunk/; revision=20375