]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agoSeal center_allocation field in GtkAspectFrame.
Tim Janik [Fri, 20 Jun 2008 11:03:47 +0000 (11:03 +0000)]
Seal center_allocation field in GtkAspectFrame.

svn path=/trunk/; revision=20554

16 years agoSeal priv pointer in GtkAction.
Tim Janik [Fri, 20 Jun 2008 11:03:42 +0000 (11:03 +0000)]
Seal priv pointer in GtkAction.

svn path=/trunk/; revision=20553

16 years agoSeal priv pointer in GtkAboutDialog.
Tim Janik [Fri, 20 Jun 2008 11:03:36 +0000 (11:03 +0000)]
Seal priv pointer in GtkAboutDialog.

svn path=/trunk/; revision=20552

16 years agoSeal GtkSizeGroup.
Tim Janik [Fri, 20 Jun 2008 11:03:31 +0000 (11:03 +0000)]
Seal GtkSizeGroup.

svn path=/trunk/; revision=20551

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

svn path=/trunk/; revision=20550

16 years agoSet the Since: values in the API docs to GSEAL-branch for the newly added accessors...
Tim Janik [Fri, 20 Jun 2008 11:03:20 +0000 (11:03 +0000)]
Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.

svn path=/trunk/; revision=20549

16 years agoAdd new GtkColorSelectionDialog accessors to gtk.symbols.
Tim Janik [Fri, 20 Jun 2008 11:03:14 +0000 (11:03 +0000)]
Add new GtkColorSelectionDialog accessors to gtk.symbols.

svn path=/trunk/; revision=20548

16 years agogtklabel.h: include bit-size of fields inside GSEAL parens.
Tim Janik [Fri, 20 Jun 2008 11:03:09 +0000 (11:03 +0000)]
gtklabel.h: include bit-size of fields inside GSEAL parens.

svn path=/trunk/; revision=20547

16 years agogtktoolbar.h: include bit-size of fields inside GSEAL parens.
Tim Janik [Fri, 20 Jun 2008 11:03:03 +0000 (11:03 +0000)]
gtktoolbar.h: include bit-size of fields inside GSEAL parens.

svn path=/trunk/; revision=20546

16 years agogtkentry.h: include bit-size of fields inside GSEAL parens.
Tim Janik [Fri, 20 Jun 2008 11:02:58 +0000 (11:02 +0000)]
gtkentry.h: include bit-size of fields inside GSEAL parens.

svn path=/trunk/; revision=20545

16 years agoAdd new accessors for GtkEntry to gtk.symbols.
Tim Janik [Fri, 20 Jun 2008 11:02:52 +0000 (11:02 +0000)]
Add new accessors for GtkEntry to gtk.symbols.

svn path=/trunk/; revision=20544

16 years agoAlso seal GtkWindowGroup in gtkwindow.h
Tim Janik [Fri, 20 Jun 2008 11:02:46 +0000 (11:02 +0000)]
Also seal GtkWindowGroup in gtkwindow.h

svn path=/trunk/; revision=20543

16 years agoFix the build by including gdkconfig.h in gtktextchild.h.
Tim Janik [Fri, 20 Jun 2008 11:02:41 +0000 (11:02 +0000)]
Fix the build by including gdkconfig.h in gtktextchild.h.

svn path=/trunk/; revision=20542

16 years agoSeal GtkLabel
Tim Janik [Fri, 20 Jun 2008 11:02:36 +0000 (11:02 +0000)]
Seal GtkLabel

svn path=/trunk/; revision=20541

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

svn path=/trunk/; revision=20540

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

svn path=/trunk/; revision=20539

16 years agoSeal GtkTextChildAnchor.
Tim Janik [Fri, 20 Jun 2008 11:02:19 +0000 (11:02 +0000)]
Seal GtkTextChildAnchor.

* gtk/gtktextchild.h: Sealed private member.

svn path=/trunk/; revision=20538

16 years agoSeal GtkWindow.
Tim Janik [Fri, 20 Jun 2008 11:02:14 +0000 (11:02 +0000)]
Seal GtkWindow.

* gtk/gtkwindow.h: Seal all fields.

svn path=/trunk/; revision=20537

16 years agoAdd gtk_window_get_default()
Tim Janik [Fri, 20 Jun 2008 11:02:08 +0000 (11:02 +0000)]
Add gtk_window_get_default()

* gtk/gtkwindow.[ch]: Add gtk_window_get_default().
* gtk/gtk.symbols: same here.

svn path=/trunk/; revision=20536

16 years agoSeal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments...
Tim Janik [Fri, 20 Jun 2008 11:02:02 +0000 (11:02 +0000)]
Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim

svn path=/trunk/; revision=20535

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

svn path=/trunk/; revision=20534

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