]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agoSeal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header...
Tim Janik [Fri, 20 Jun 2008 11:01:50 +0000 (11:01 +0000)]
Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration

svn path=/trunk/; revision=20533

16 years agoSeal GtkToggleButton.
Tim Janik [Fri, 20 Jun 2008 11:01:45 +0000 (11:01 +0000)]
Seal GtkToggleButton.

* gtk/gtktogglebutton.h: Seal all member fields.

svn path=/trunk/; revision=20532

16 years agoSeal GtkTreeViewColumn.
Tim Janik [Fri, 20 Jun 2008 11:01:40 +0000 (11:01 +0000)]
Seal GtkTreeViewColumn.

* gtk/gtktreeviewcolumn.h: Seal all public member fields.  The button field is
still troublesome.  We are probably going to need an accessor for this and
deprecated it immediately in GTK+ 3.0.  Accessors for requested_width and
resized_width can be useful, but I really consider them to be private and
of not much use to applications.

svn path=/trunk/; revision=20531

16 years agoSeal GtkRadioMenuItem.
Tim Janik [Fri, 20 Jun 2008 11:01:35 +0000 (11:01 +0000)]
Seal GtkRadioMenuItem.

* gtk/gtkradiomenuitem.h: Seal member field.

svn path=/trunk/; revision=20530

16 years agoSeal GtkRadioButton.
Tim Janik [Fri, 20 Jun 2008 11:01:29 +0000 (11:01 +0000)]
Seal GtkRadioButton.

* gtk/gtkradiobutton.h: seal member field.

svn path=/trunk/; revision=20529

16 years agoSeal GtkTreeSelection.
Tim Janik [Fri, 20 Jun 2008 11:01:24 +0000 (11:01 +0000)]
Seal GtkTreeSelection.

* gtk/gtktreeselection.h: Seal all member fields.

svn path=/trunk/; revision=20528

16 years agoAdd gtk_tree_selection_get_select_function().
Tim Janik [Fri, 20 Jun 2008 11:01:18 +0000 (11:01 +0000)]
Add gtk_tree_selection_get_select_function().

* gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
function.
* gtk/gtk.symbols: add new function.

svn path=/trunk/; revision=20527

16 years agoSeal GtkScrolledWindow.
Tim Janik [Fri, 20 Jun 2008 11:01:13 +0000 (11:01 +0000)]
Seal GtkScrolledWindow.

* gtk/gtkscrolledwindow.h: Seal all object member fields.

svn path=/trunk/; revision=20526

16 years agoSeal GtkCellRenderer.
Tim Janik [Fri, 20 Jun 2008 11:01:07 +0000 (11:01 +0000)]
Seal GtkCellRenderer.

* gtk/gtkcellrenderer.h: seal all member fields.  All member fields are
already accessible via GObject properties.

svn path=/trunk/; revision=20525

16 years agoAdd "editing" GObject property to GtkCellRenderer.
Tim Janik [Fri, 20 Jun 2008 11:01:02 +0000 (11:01 +0000)]
Add "editing" GObject property to GtkCellRenderer.

* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
(gtk_cell_renderer_get_property),
(gtk_cell_renderer_set_property): add the property and hook
it up.

svn path=/trunk/; revision=20524

16 years agoSeal GtkCellRendererText.
Tim Janik [Fri, 20 Jun 2008 11:00:57 +0000 (11:00 +0000)]
Seal GtkCellRendererText.

* gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
marked as private).

svn path=/trunk/; revision=20523

16 years agoSeal GtkCellRendererCombo.
Tim Janik [Fri, 20 Jun 2008 11:00:52 +0000 (11:00 +0000)]
Seal GtkCellRendererCombo.

* gtk/gtkcellrenderercombo.h: seal all member fields.  The members fields
that were not marked as private are already accessible via GObject properties.

svn path=/trunk/; revision=20522

16 years agoSeal GtkCellRendererAccel.
Tim Janik [Fri, 20 Jun 2008 11:00:46 +0000 (11:00 +0000)]
Seal GtkCellRendererAccel.

* gtk/gtkcellrendereraccel.h: seal all member fields that were already
marked as private.

svn path=/trunk/; revision=20521

16 years agoSeal GtkTreeView
Tim Janik [Fri, 20 Jun 2008 11:00:41 +0000 (11:00 +0000)]
Seal GtkTreeView

* gtk/gtktreeview.h: seal private pointer.

svn path=/trunk/; revision=20520

16 years agoSeal GtkTreeModelFilter
Tim Janik [Fri, 20 Jun 2008 11:00:35 +0000 (11:00 +0000)]
Seal GtkTreeModelFilter

* gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
pointer.

svn path=/trunk/; revision=20519

16 years agoSeal GtkTreeModelSort
Tim Janik [Fri, 20 Jun 2008 11:00:30 +0000 (11:00 +0000)]
Seal GtkTreeModelSort

* gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
all public member fields.

svn path=/trunk/; revision=20518

16 years agoSeal GtkTreeStore
Tim Janik [Fri, 20 Jun 2008 11:00:25 +0000 (11:00 +0000)]
Seal GtkTreeStore

* gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
public member fields.

svn path=/trunk/; revision=20517

16 years agoSeal GtkListStore
Tim Janik [Fri, 20 Jun 2008 11:00:20 +0000 (11:00 +0000)]
Seal GtkListStore

* gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
public member fields.

svn path=/trunk/; revision=20516

16 years agoadd accessor.
Tim Janik [Fri, 20 Jun 2008 11:00:12 +0000 (11:00 +0000)]
add accessor.

* gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.

svn path=/trunk/; revision=20515

16 years agoseal members.
Tim Janik [Fri, 20 Jun 2008 11:00:06 +0000 (11:00 +0000)]
seal members.

* gtk/gtkcontainer.h: seal members.

svn path=/trunk/; revision=20514

16 years agoseal members.
Tim Janik [Fri, 20 Jun 2008 10:59:58 +0000 (10:59 +0000)]
seal members.

* gtk/gtkmisc.h: seal members.

svn path=/trunk/; revision=20513

16 years ago*gtk/gtkfixed.h: seal members.
Tim Janik [Fri, 20 Jun 2008 10:59:53 +0000 (10:59 +0000)]
*gtk/gtkfixed.h: seal members.

svn path=/trunk/; revision=20512

16 years agoseal all members.
Tim Janik [Fri, 20 Jun 2008 10:59:48 +0000 (10:59 +0000)]
seal all members.

* gtk/gtkcellrendererpixbuf.h: seal all members.

svn path=/trunk/; revision=20511

16 years agoseal private member.
Tim Janik [Fri, 20 Jun 2008 10:59:43 +0000 (10:59 +0000)]
seal private member.

* gtk/gtkcellrendererprogress.h: seal private member.

svn path=/trunk/; revision=20510

16 years agoseal all members.
Tim Janik [Fri, 20 Jun 2008 10:59:38 +0000 (10:59 +0000)]
seal all members.

* gtk/gtkcellrenderertoggle.h: seal all members.

svn path=/trunk/; revision=20509

16 years agoSeal the private member.
Tim Janik [Fri, 20 Jun 2008 10:59:32 +0000 (10:59 +0000)]
Seal the private member.

* gtk/gtkfilechooserwidget.h: Seal the private member.

svn path=/trunk/; revision=20508

16 years agogtk/gtkfilechooserdialog.h: seal the private member.
Tim Janik [Fri, 20 Jun 2008 10:59:27 +0000 (10:59 +0000)]
gtk/gtkfilechooserdialog.h: seal the private member.

svn path=/trunk/; revision=20507

16 years agoSeal private member.
Tim Janik [Fri, 20 Jun 2008 10:59:22 +0000 (10:59 +0000)]
Seal private member.

* gtk/gtkentrycompletion.h: Seal private member.

svn path=/trunk/; revision=20506

16 years agoSeal the private member.
Tim Janik [Fri, 20 Jun 2008 10:59:17 +0000 (10:59 +0000)]
Seal the private member.

* gtk/gtkcellview.h: Seal the private member.

svn path=/trunk/; revision=20505

16 years agoseal private member.
Tim Janik [Fri, 20 Jun 2008 10:59:11 +0000 (10:59 +0000)]
seal private member.

* gtk/gtkcolorbutton.h: seal private member.

svn path=/trunk/; revision=20504

16 years agoseal public struct members.
Tim Janik [Fri, 20 Jun 2008 10:59:06 +0000 (10:59 +0000)]
seal public struct members.

* gtk/gtkcheckmenuitem.h: seal public struct members.

svn path=/trunk/; revision=20503

16 years agoseal public struct members.
Tim Janik [Fri, 20 Jun 2008 10:59:01 +0000 (10:59 +0000)]
seal public struct members.

* gtk/gtkcalendar.h: seal public struct members.

svn path=/trunk/; revision=20502

16 years agoAlso seal variables marked as private.
Tim Janik [Fri, 20 Jun 2008 10:58:55 +0000 (10:58 +0000)]
Also seal variables marked as private.

* gtk/gtkdialog.h: Also seal variables marked as private.

svn path=/trunk/; revision=20501

16 years agoseal private member.
Tim Janik [Fri, 20 Jun 2008 10:58:50 +0000 (10:58 +0000)]
seal private member.

* gtk/gtkimagemenuitem.h: seal private member.

svn path=/trunk/; revision=20500

16 years agoseal private member.
Tim Janik [Fri, 20 Jun 2008 10:58:45 +0000 (10:58 +0000)]
seal private member.

* gtk/gtkiconfactory.h: seal private member.

svn path=/trunk/; revision=20499

16 years agoSeal GtkActionGroup
Tim Janik [Fri, 20 Jun 2008 10:58:40 +0000 (10:58 +0000)]
Seal GtkActionGroup

* gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
  member and clean up .c file to reflect this.

svn path=/trunk/; revision=20498

16 years agoSeal GtkAccelLabel
Tim Janik [Fri, 20 Jun 2008 10:58:34 +0000 (10:58 +0000)]
Seal GtkAccelLabel

gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields

svn path=/trunk/; revision=20497

16 years agoseal instance struct member.
Tim Janik [Fri, 20 Jun 2008 10:58:29 +0000 (10:58 +0000)]
seal instance struct member.

* gtk/gtkdrawingarea.h: seal instance struct member.

svn path=/trunk/; revision=20496

16 years agoSeal GtkScaleButton public fields
Tim Janik [Fri, 20 Jun 2008 10:58:23 +0000 (10:58 +0000)]
Seal GtkScaleButton public fields

* gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().

svn path=/trunk/; revision=20495

16 years agoSeal GtkScale public fields
Tim Janik [Fri, 20 Jun 2008 10:58:18 +0000 (10:58 +0000)]
Seal GtkScale public fields

* gtk/gtkscale.h: Deprecate direct access through GSEAL().

svn path=/trunk/; revision=20494

16 years agoSeal GtkProgressBar public fields
Tim Janik [Fri, 20 Jun 2008 10:58:13 +0000 (10:58 +0000)]
Seal GtkProgressBar public fields

svn path=/trunk/; revision=20493

16 years agoSeal GtkFrame public vars
Tim Janik [Fri, 20 Jun 2008 10:58:07 +0000 (10:58 +0000)]
Seal GtkFrame public vars

svn path=/trunk/; revision=20492

16 years agoDeprecate direct access to public variables in GtkButton.
Tim Janik [Fri, 20 Jun 2008 10:58:02 +0000 (10:58 +0000)]
Deprecate direct access to public variables in GtkButton.

* gtk/gtkbutton.h: Deprecate direct access through GSEAL().

svn path=/trunk/; revision=20491

16 years agoDeprecate direct access to public variables in GtkButtonBox.
Tim Janik [Fri, 20 Jun 2008 10:57:57 +0000 (10:57 +0000)]
Deprecate direct access to public variables in GtkButtonBox.

* gtk/gtkbbox.h: Deprecate direct access through GSEAL().

svn path=/trunk/; revision=20490

16 years agoDeprecate direct access to public variables in GtkBox.
Tim Janik [Fri, 20 Jun 2008 10:57:52 +0000 (10:57 +0000)]
Deprecate direct access to public variables in GtkBox.

* gtk/gtkbox.h: Deprecate direct access through GSEAL().

svn path=/trunk/; revision=20489

16 years agoSeal GtkMessageDialog public vars
Tim Janik [Fri, 20 Jun 2008 10:57:46 +0000 (10:57 +0000)]
Seal GtkMessageDialog public vars

svn path=/trunk/; revision=20488

16 years agoSeal GtkDialog public vars
Tim Janik [Fri, 20 Jun 2008 10:57:41 +0000 (10:57 +0000)]
Seal GtkDialog public vars

svn path=/trunk/; revision=20487

16 years agoAdd accessors for GtkDialog public vars, also implement GtkContainer::add/remove
Tim Janik [Fri, 20 Jun 2008 10:57:35 +0000 (10:57 +0000)]
Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove

svn path=/trunk/; revision=20486

16 years agoSeal GtkAssistant public fields
Tim Janik [Fri, 20 Jun 2008 10:57:29 +0000 (10:57 +0000)]
Seal GtkAssistant public fields

svn path=/trunk/; revision=20485

16 years agoSeal GtkNotebook public fields
Tim Janik [Fri, 20 Jun 2008 10:57:23 +0000 (10:57 +0000)]
Seal GtkNotebook public fields

svn path=/trunk/; revision=20484

16 years agoDeprecate direct access to child in GtkBin.
Tim Janik [Fri, 20 Jun 2008 10:57:18 +0000 (10:57 +0000)]
Deprecate direct access to child in GtkBin.

* gtk/gtkbin.h: Deprecate direct access to child by GSEAL.

svn path=/trunk/; revision=20483

16 years agoSealed GtkAccelGroup and added
Tim Janik [Fri, 20 Jun 2008 10:57:08 +0000 (10:57 +0000)]
Sealed GtkAccelGroup and added

* gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
  modifier_mask, acceleratables, n_accels and priv_accels. Added seal
  macro for public struct members which should be private.

svn path=/trunk/; revision=20482

16 years agoDeprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
Tim Janik [Fri, 20 Jun 2008 10:57:01 +0000 (10:57 +0000)]
Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.

* gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.

svn path=/trunk/; revision=20481

16 years agoDeprecate arrow_type and shadow_type direct access in GtkArrow.
Tim Janik [Fri, 20 Jun 2008 10:56:55 +0000 (10:56 +0000)]
Deprecate arrow_type and shadow_type direct access in GtkArrow.

* gtk/gtkarrow.h: Deprecate public object fields by GSEAL.

svn path=/trunk/; revision=20480

16 years agoAdded GSEAL to GtkAlignment.
Tim Janik [Fri, 20 Jun 2008 10:56:50 +0000 (10:56 +0000)]
Added GSEAL to GtkAlignment.

* gtk/gtkalignment.h: Seal the object data with GSEAL.

svn path=/trunk/; revision=20479

16 years agoIntroduce GSEAL() macro.
Tim Janik [Fri, 20 Jun 2008 10:48:22 +0000 (10:48 +0000)]
Introduce GSEAL() macro.

* configure.in: define GSEAL() when generating gdkconfig.h

svn path=/trunk/; revision=20478

16 years agoBug 538395 – gtk_combo_box_append_text() on non-compliant model
Michael Natterer [Fri, 20 Jun 2008 10:00:40 +0000 (10:00 +0000)]
Bug 538395 – gtk_combo_box_append_text() on non-compliant model

2008-06-20  Michael Natterer  <mitch@imendio.com>

Bug 538395 – gtk_combo_box_append_text() on non-compliant model
segfaults

* gtk/gtkcombobox.c (gtk_combo_box_append_text)
(gtk_combo_box_insert_text)
(gtk_combo_box_prepend_text)
(gtk_combo_box_remove_text)
(gtk_combo_box_real_get_active_text): apply patch from Christian
Dywan which adds the needed g_return_if_fail() to prevent the
crashes.

svn path=/trunk/; revision=20477

16 years agoRename gdk_window_new -> _gdk_window_new and gdk_window_reparent ->
Cody Russell [Fri, 20 Jun 2008 05:12:24 +0000 (05:12 +0000)]
Rename gdk_window_new -> _gdk_window_new and gdk_window_reparent ->

2008-06-20  Cody Russell  <cody@jhu.edu>

        * gdk/directfb/gdkwindow-directfb.c:

        Rename gdk_window_new -> _gdk_window_new and
        gdk_window_reparent -> _gdk_window_reparent to fix
        the build.  (#539095, Sebastien Bacher)

svn path=/trunk/; revision=20476

16 years agoRemove svn:executable property
Johan Dahlin [Thu, 19 Jun 2008 20:40:06 +0000 (20:40 +0000)]
Remove svn:executable property

svn path=/trunk/; revision=20475

16 years agoRemove executable property
Johan Dahlin [Thu, 19 Jun 2008 20:36:01 +0000 (20:36 +0000)]
Remove executable property

svn path=/trunk/; revision=20474

16 years agoremove an unused variable and cast accel_path to gchar, just like in
Johan Dahlin [Thu, 19 Jun 2008 19:09:50 +0000 (19:09 +0000)]
remove an unused variable and cast accel_path to gchar, just like in

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkmenuitem.c: remove an unused variable and cast
    accel_path to gchar, just like in gtkmenu.c

svn path=/trunk/; revision=20473

16 years agoUse GIO for this.
Matthias Clasen [Thu, 19 Jun 2008 19:04:22 +0000 (19:04 +0000)]
Use GIO for this.

        * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
        for this.

svn path=/trunk/; revision=20472

16 years agoFix a typo in a comment
Johan Dahlin [Thu, 19 Jun 2008 17:42:14 +0000 (17:42 +0000)]
Fix a typo in a comment

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkprintbackend.c: Fix a typo in a comment

svn path=/trunk/; revision=20471

16 years agoCast buf to unsigned char to avoid two compiler warnings.
Johan Dahlin [Thu, 19 Jun 2008 14:19:34 +0000 (14:19 +0000)]
Cast buf to unsigned char to avoid two compiler warnings.

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkhsv.c (paint_ring, paint_triangle):
    Cast buf to unsigned char to avoid two compiler
    warnings.

svn path=/trunk/; revision=20470

16 years agoDo not ignore the return value of g_slist_remove. gtkstyle.c changes
Johan Dahlin [Thu, 19 Jun 2008 14:08:59 +0000 (14:08 +0000)]
Do not ignore the return value of g_slist_remove. gtkstyle.c changes

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkclist.c:
    * gtk/gtkstyle.c (gtk_style_finalize):
    Do not ignore the return value of g_slist_remove.
    gtkstyle.c changes rubberstamped by Owen.

svn path=/trunk/; revision=20469

16 years agogdk_gc_set_dashes expects a list of gint8, not guint8.
Johan Dahlin [Thu, 19 Jun 2008 14:07:28 +0000 (14:07 +0000)]
gdk_gc_set_dashes expects a list of gint8, not guint8.

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
    (gtk_tree_view_set_enable_tree_lines):
    gdk_gc_set_dashes expects a list of gint8, not guint8.

svn path=/trunk/; revision=20468

16 years agoRemove an unused variable and cast to gchar to avoid a compiler warning.
Johan Dahlin [Thu, 19 Jun 2008 13:43:51 +0000 (13:43 +0000)]
Remove an unused variable and cast to gchar to avoid a compiler warning.

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkmenu.c (gtk_menu_set_accel_path):
    Remove an unused variable and cast to gchar to avoid a compiler
    warning.

svn path=/trunk/; revision=20467

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Thu, 19 Jun 2008 13:05:14 +0000 (13:05 +0000)]
Translation updated by Ivar Smolin

2008-06-19  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=20466

16 years agoAdd clipboard convenience helpers for URIs. Bug #537639.
Christian Persch [Thu, 19 Jun 2008 12:55:57 +0000 (12:55 +0000)]
Add clipboard convenience helpers for URIs. Bug #537639.

svn path=/trunk/; revision=20465

16 years agoUse gtk_drag_[dest|source]_add_[text|uri]_targets(), and simplify code. Bug #516092.
Christian Persch [Thu, 19 Jun 2008 12:52:40 +0000 (12:52 +0000)]
Use gtk_drag_[dest|source]_add_[text|uri]_targets(), and simplify code. Bug #516092.

svn path=/trunk/; revision=20464

16 years agoUse g_set_error_literal where appropriate. Bug #538640.
Christian Persch [Thu, 19 Jun 2008 12:47:48 +0000 (12:47 +0000)]
Use g_set_error_literal where appropriate. Bug #538640.

svn path=/trunk/; revision=20463

16 years agoUse g_object_new instead of gtk_widget_new
Johan Dahlin [Thu, 19 Jun 2008 12:25:19 +0000 (12:25 +0000)]
Use g_object_new instead of gtk_widget_new

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * demos/testpixbuf.c (new_testrgb_window):
    * gtk/gtkctree.c (gtk_ctree_new_with_titles):
    * gtk/gtkitemfactory.c (gtk_item_factory_construct),
    (gtk_item_factory_create_item):
    * gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
    * gtk/gtkprogressbar.c (gtk_progress_bar_new),
    (gtk_progress_bar_new_with_adjustment):
    * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
    * gtk/gtktext.c (gtk_text_new):
    * gtk/gtkviewport.c (gtk_viewport_new):
    * tests/simple.c (main):
    * tests/testgtk.c (create_statusbar), (create_get_image),
    (create_saved_position), (create_tooltips), (create_cursors),
    (create_display_screen), (create_progress_bar), (create_idle_test):
    * tests/testmultidisplay.c (make_selection_dialog), (main):
    * tests/testmultiscreen.c (main):
    * tests/testrgb.c (new_testrgb_window):
    Use g_object_new instead of gtk_widget_new

svn path=/trunk/; revision=20462

16 years agoRemove an unused prototype.
Johan Dahlin [Thu, 19 Jun 2008 12:16:44 +0000 (12:16 +0000)]
Remove an unused prototype.

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.

svn path=/trunk/; revision=20461

16 years agoRemove an unused variable.
Johan Dahlin [Thu, 19 Jun 2008 12:15:55 +0000 (12:15 +0000)]
Remove an unused variable.

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
    an unused variable.

svn path=/trunk/; revision=20460

16 years agoUse GdkModifierType instedd of guint, to avoid a gcc warning.
Johan Dahlin [Thu, 19 Jun 2008 12:15:07 +0000 (12:15 +0000)]
Use GdkModifierType instedd of guint, to avoid a gcc warning.

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
    to avoid a gcc warning.

svn path=/trunk/; revision=20459

16 years agobgo538784 - Don't change the filename entry in CREATE_FOLDER mode
Olle Bergkvist [Wed, 18 Jun 2008 22:35:32 +0000 (22:35 +0000)]
bgo538784 - Don't change the filename entry in CREATE_FOLDER mode
2008-06-18  Olle Bergkvist <olle.bergkvist@yahoo.se>

http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
the filename in the name entry in CREATE_FOLDER mode when changing
folders, so that you can enter a new subfolder name, double-click on a
folder to change to it, and close the dialog.

* gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
the filename in the entry in CREATE_FOLDER mode, either.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=20457

16 years agobgo419737 - Don't clear filename entry in SAVE/CREATE_FOLDER modes
Olle Bergkvist [Wed, 18 Jun 2008 22:23:39 +0000 (22:23 +0000)]
bgo419737 - Don't clear filename entry in SAVE/CREATE_FOLDER modes
2008-06-18  Olle Bergkvist <olle.bergkvist@yahoo.se>

http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
it shouldn't.

* gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
clear the entry for CREATE_FOLDER either; this needs the same
behavior as SAVE mode.
(update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
modes.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=20455

16 years agoUse standard icon names.
Matthias Clasen [Wed, 18 Jun 2008 16:22:42 +0000 (16:22 +0000)]
Use standard icon names.

2008-06-18  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
        * gtk/gtkfilechooserbutton.c (change_icon_theme):
        (model_add_bookmarks):
        (model_update_current_folder):
        * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
        (shortcuts_reload_icons): Use standard icon names.

svn path=/trunk/; revision=20454

16 years agoAdd some more standard icon names
Matthias Clasen [Wed, 18 Jun 2008 16:14:59 +0000 (16:14 +0000)]
Add some more standard icon names

svn path=/trunk/; revision=20453

16 years agoset the maximum of the "year" property to G_MAXINT >> 8 instead of
Michael Natterer [Wed, 18 Jun 2008 15:42:27 +0000 (15:42 +0000)]
set the maximum of the "year" property to G_MAXINT >> 8 instead of

2008-06-18  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcalendar.c: set the maximum of the "year" property to
G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
calculations which in turn caused writing beyond the boundaries of
the calendar->day_month[] and day[] arrays which in turn caused a
SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)

svn path=/trunk/; revision=20452

16 years agoAdd image/x-win-bitmap mimetype
Matthias Clasen [Wed, 18 Jun 2008 15:15:54 +0000 (15:15 +0000)]
Add image/x-win-bitmap mimetype

svn path=/trunk/; revision=20451

16 years agotests/Makefile.am tests/autotestfilechooser.c tests/buildertest.c
Michael Natterer [Wed, 18 Jun 2008 13:29:02 +0000 (13:29 +0000)]
tests/Makefile.am tests/autotestfilechooser.c tests/buildertest.c

2008-06-18  Michael Natterer  <mitch@imendio.com>

* tests/Makefile.am
* tests/autotestfilechooser.c
* tests/buildertest.c
* tests/defaultvaluetest.c
* tests/floatingtest.c
* tests/objecttests.c
* tests/pixbuf-init.c
* tests/textbuffertest.c: remove unit tests here...

* gtk/tests/Makefile.am
* gtk/tests/builder.c
* gtk/tests/defaultvalue.c
* gtk/tests/filechooser.c
* gtk/tests/floating.c
* gtk/tests/object.c
* gtk/tests/pixbuf-init.c
* gtk/tests/textbuffer.c: ...and add them here.

svn path=/trunk/; revision=20450

16 years agodeprecate GdkDestroyNotify.
Michael Natterer [Wed, 18 Jun 2008 09:39:24 +0000 (09:39 +0000)]
deprecate GdkDestroyNotify.

2008-06-18  Michael Natterer  <mitch@imendio.com>

* gdk/gdk.h: deprecate GdkDestroyNotify.

* gdk/gdkevents.c
* gdk/gdktypes.h
* gdk/x11/gdkevents-x11.c
* gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.

svn path=/trunk/; revision=20449

16 years agodeprecate GtkDestroyNotify.
Michael Natterer [Wed, 18 Jun 2008 09:12:32 +0000 (09:12 +0000)]
deprecate GtkDestroyNotify.

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

16 years agosome more undeprecation.
Michael Natterer [Wed, 18 Jun 2008 08:51:55 +0000 (08:51 +0000)]
some more undeprecation.

2008-06-18  Michael Natterer  <mitch@imendio.com>

* tests/testgtk.c: some more undeprecation.

svn path=/trunk/; revision=20447

16 years agodeprecate GtkType, GtkSignalFunc and GTK_SIGNAL_FUNC().
Michael Natterer [Wed, 18 Jun 2008 08:26:53 +0000 (08:26 +0000)]
deprecate GtkType, GtkSignalFunc and GTK_SIGNAL_FUNC().

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

16 years agogailimage.c (gail_image_get_image_size)
Michael Natterer [Wed, 18 Jun 2008 07:04:11 +0000 (07:04 +0000)]
gailimage.c (gail_image_get_image_size)

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

16 years agodeprecate gtk_type_class().
Michael Natterer [Wed, 18 Jun 2008 07:00:46 +0000 (07:00 +0000)]
deprecate gtk_type_class().

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

16 years agoAdd deprecated version and change the deprecation markup used by ref/unref
Johan Dahlin [Wed, 18 Jun 2008 01:42:13 +0000 (01:42 +0000)]
Add deprecated version and change the deprecation markup used by ref/unref

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

16 years agoAdd deprecated versions and fixup markup.
Johan Dahlin [Wed, 18 Jun 2008 01:31:22 +0000 (01:31 +0000)]
Add deprecated versions and fixup markup.

2008-06-17  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkwidget.c:
    Add deprecated versions and fixup markup.

svn path=/trunk/; revision=20442

16 years agoDon't markup deprecated in italics.
Johan Dahlin [Wed, 18 Jun 2008 01:19:53 +0000 (01:19 +0000)]
Don't markup deprecated in italics.

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

16 years agoRemove GtkFileSystemError, use GtkFileChooserError instead. (#538378,
Carlos Garnacho [Tue, 17 Jun 2008 23:33:48 +0000 (23:33 +0000)]
Remove GtkFileSystemError, use GtkFileChooserError instead. (#538378,

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

16 years agoundeprecate.
Michael Natterer [Tue, 17 Jun 2008 21:38:16 +0000 (21:38 +0000)]
undeprecate.

2008-06-17  Michael Natterer  <mitch@imendio.com>

* examples/gtkdial/gtkdial.[ch]: undeprecate.

svn path=/trunk/; revision=20439

16 years agoremove bogus extern declaration of non-existing function
Michael Natterer [Tue, 17 Jun 2008 21:34:15 +0000 (21:34 +0000)]
remove bogus extern declaration of non-existing function

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

16 years agogail.c s/gtk_type_class/g_type_class_ref/
Michael Natterer [Tue, 17 Jun 2008 21:00:28 +0000 (21:00 +0000)]
gail.c s/gtk_type_class/g_type_class_ref/

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

16 years agos/GtkType/GType/
Michael Natterer [Tue, 17 Jun 2008 20:43:07 +0000 (20:43 +0000)]
s/GtkType/GType/

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

16 years agoNeed to do the GTK_DISABLE_DEPRECATED #undef/#define dance here, too,
Tor Lillqvist [Tue, 17 Jun 2008 19:29:22 +0000 (19:29 +0000)]
Need to do the GTK_DISABLE_DEPRECATED #undef/#define dance here, too,

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

16 years agoDon't use the deprecated GTK_* GtkType macros.
Tor Lillqvist [Tue, 17 Jun 2008 19:11:54 +0000 (19:11 +0000)]
Don't use the deprecated GTK_* GtkType macros.

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

16 years agobuild with GTK_DISABLE_DEPRECATED.
Michael Natterer [Tue, 17 Jun 2008 16:03:46 +0000 (16:03 +0000)]
build with GTK_DISABLE_DEPRECATED.

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

16 years agomore tests for GtkRecentManager.
Paolo Borelli [Tue, 17 Jun 2008 15:46:40 +0000 (15:46 +0000)]
more tests for GtkRecentManager.

2008-06-17  Paolo Borelli  <pborelli@katamail.com>

* gtk/tests/recentmanager.c: more tests for GtkRecentManager.

svn path=/trunk/; revision=20431