Michael Natterer
91f84cd1d8
use g_param_spec_flags(), not enum() when registering the "modifier-mask"
...
2008-06-22 Michael Natterer <mitch@imendio.com>
* gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
registering the "modifier-mask" property.
svn path=/trunk/; revision=20670
2008-06-22 16:42:22 +00:00
Johan Dahlin
d97cdbdf53
Include "config.h" instead of <config.h> Command used: find -name
...
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Mitch and Tim
svn path=/trunk/; revision=20669
2008-06-22 14:28:52 +00:00
Jorge Gonzalez Gonzalez
8875b3a935
Updated Spanish translation
...
svn path=/trunk/; revision=20668
2008-06-21 19:34:44 +00:00
Jorge Gonzalez Gonzalez
f5a4f7acca
Updated Spanish translation
...
svn path=/trunk/; revision=20667
2008-06-21 19:33:43 +00:00
Carlos Garnacho
56bbbbf553
Bug 539466 – GtkMenuShell API/ABI break in trunk.
...
2008-06-21 Carlos Garnacho <carlos@imendio.com>
Bug 539466 – GtkMenuShell API/ABI break in trunk.
* gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
different name and packing width.
svn path=/trunk/; revision=20666
2008-06-21 14:56:07 +00:00
Johan Dahlin
a1362779ee
Cast to guint8* to avoid a compiler warning.
...
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
a compiler warning.
svn path=/trunk/; revision=20665
2008-06-21 13:09:57 +00:00
Johan Dahlin
33d64796d0
Document a style property
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkbutton.c: Document a style property
svn path=/trunk/; revision=20664
2008-06-21 12:34:12 +00:00
Michael Natterer
aefbaedc61
remove redundant include, fix indentation, replace header by a GDK
...
2008-06-21 Michael Natterer <mitch@imendio.com>
* gdk/gdkapplaunchcontext.h: remove redundant include, fix
indentation, replace header by a GDK copyright header (don't say
"The Gnome Library"), remove trailing whitespace.
svn path=/trunk/; revision=20663
2008-06-21 10:44:26 +00:00
Hans Breuer
d3ce448c20
fix 'function' : incompatible types - from 'struct _cairo *' to 'struct
...
2008-06-21 Hans Breuer <hans@breuer.org>
* gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible
types - from 'struct _cairo *' to 'struct _cairo_surface *' by
passing the surface to cairo_surface_show_page(), not the context
* gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018:
'<' : signed/unsigned mismatch by using guint for the loop
* gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is
an uint, gtk_menu_get_active() returns the widget pointer. Convert
the latter to the former by calculating the index in menu::children
Also fix some occurences of g_return_if_fail() where
g_return_val_if_fail() was meant
svn path=/trunk/; revision=20662
2008-06-21 09:49:00 +00:00
Björn Lindqvist
743eebc1a5
Bug 539363 – Segfault when creating GtkPlugs
...
2008-06-21 Björn Lindqvist <bjourne@gmail.com>
Bug 539363 – Segfault when creating GtkPlugs
* gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
property names. "socket window" => "socket-window"
svn path=/trunk/; revision=20661
2008-06-21 01:03:25 +00:00
Jody Goldberg
87caf0d3ae
Fix life cycle to avoid crash. [ #536966 ]
...
2008-06-20 Jody Goldberg <jody@gnome.org>
* gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
Fix life cycle to avoid crash. [#536966 ]
svn path=/trunk/; revision=20660
2008-06-21 00:53:17 +00:00
Gabor Keleman
b4b24c6484
Fix some accels
...
svn path=/trunk/; revision=20659
2008-06-20 23:28:48 +00:00
Gabor Kelemen
ebec90c434
Translation updated.
...
2008-06-21 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
svn path=/trunk/; revision=20658
2008-06-20 22:31:47 +00:00
Hans Breuer
8e2ef4982b
must return a value of the appropriate type with g_return_val_if_fail
...
2008-06-20 Hans Breuer <hans@breuer.org>
* gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
a value of the appropriate type with g_return_val_if_fail
* gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
* gtk/gtkfilesystem.c : don't add the "File System" on win32
* tests/makefile.msc : remove broken autotestfile(system|chooser)
from build
svn path=/trunk/; revision=20657
2008-06-20 20:39:22 +00:00
Johan Dahlin
2e75eb1330
Document and use - instead of _ in signal names.
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkeditable.c: Document and use - instead of _ in signal names.
svn path=/trunk/; revision=20656
2008-06-20 20:11:46 +00:00
Johan Dahlin
ef5e0e9601
Fix up deprecated markup syntax. Add version numbers and a message on the
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkbutton.c:
* gtk/gtkcolorsel.c:
* gtk/gtkentry.c:
* gtk/gtkitemfactory.c:
* gtk/gtknotebook.c:
Fix up deprecated markup syntax. Add version numbers and
a message on the remaning ones.
svn path=/trunk/; revision=20655
2008-06-20 19:42:53 +00:00
Mikael Hallendal
df11b00dae
Replaced use of gtk_signal_connect with the g_signal_connect equivalents.
...
2008-06-20 Mikael Hallendal <micke@imendio.com>
* tests/testthreads.c: Use g_signal_connect instead of
gtk_signal_connect.
* demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
While the code is not built, people may still look at it.
svn path=/trunk/; revision=20654
2008-06-20 19:26:50 +00:00
Kjartan Maraas
0eba9bf8fe
reviewed by: <Carlos Garnacho <garnacho@gnome.org>
...
2008-06-20 Kjartan Maraas <kmaraas@gnome.org>
reviewed by: <Carlos Garnacho <garnacho@gnome.org>
* gtk/gtkbuilder.h:
* gtk/gtkliststore.h:
* gtk/gtkobject.h:
* gtk/gtktextchild.h:
* gtk/gtktreemodelfilter.h:
* gtk/gtktreemodelsort.h:
* gtk/gtktreestore.h:
#include <gdkconfig.h> not <gdk/gdkconfig.h>
svn path=/trunk/; revision=20653
2008-06-20 18:52:52 +00:00
Martyn James Russell
c8322b8c0e
Fix warnings from calling g_object_notify() on a GtkAccelGroup without
...
* gtk/gtkaccelgroup.c: Fix warnings from calling
g_object_notify() on a GtkAccelGroup without casting to a
GObject.
svn path=/trunk/; revision=20652
2008-06-20 15:10:00 +00:00
Johan Dahlin
755a662ff2
Modernize and order things as most other objects. Defines at the top,
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkcolorsel.c: Modernize and order things as most
other objects. Defines at the top, class init before init
before gobject methods before object method before widget
methods. No changes to the logic done.
svn path=/trunk/; revision=20651
2008-06-20 15:01:31 +00:00
Martyn James Russell
7e374415b6
Don't call g_object_notify() with properties that don't exist. Also, make
...
* gtk/gtkaccelgroup.c: Don't call g_object_notify() with
properties that don't exist. Also, make sure we notify for
the "is-locked" property.
svn path=/trunk/; revision=20650
2008-06-20 14:45:54 +00:00
Johan Dahlin
90bc8940c8
Remove left-over unused property enum.
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtklayout.c (enum): Remove left-over unused property enum.
svn path=/trunk/; revision=20649
2008-06-20 14:34:50 +00:00
Johan Dahlin
9e400139b7
Add missing accessor for sealed fields GtkScaleButton->plus_button and
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk.symbols:
* gtk/gtkscalebutton.c (gtk_scale_button_get_plus_button),
(gtk_scale_button_get_minus_button):
* gtk/gtkscalebutton.h:
Add missing accessor for sealed fields GtkScaleButton->plus_button and
minus_button.
svn path=/trunk/; revision=20648
2008-06-20 14:30:28 +00:00
Johan Dahlin
02fbfecda2
Initialize the allocation to avoid compiler warnings
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
allocation to avoid compiler warnings
svn path=/trunk/; revision=20647
2008-06-20 14:28:09 +00:00
Johan Dahlin
493914fa7a
Fix gtk-doc syntax, add missing trailing colon.
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
svn path=/trunk/; revision=20646
2008-06-20 14:22:26 +00:00
Johan Dahlin
80e221ef6f
Add all newly added accessors so abicheck.sh passes
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
svn path=/trunk/; revision=20645
2008-06-20 14:19:58 +00:00
Johan Dahlin
c4aa58f9bc
Remove unused variable and check if the widget is a GtkWidget subclass,
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkwidget.c (gtk_widget_get_allocation): Remove unused variable
and check if the widget is a GtkWidget subclass, not the uninitialized
allocation.
svn path=/trunk/; revision=20644
2008-06-20 14:19:22 +00:00
Michael Natterer
f87182ac43
gtk/gtkaccellabel.h gtk/gtkactiongroup.h gtk/gtkalignment.h gtk/gtkarrow.h
...
2008-06-20 Michael Natterer <mitch@imendio.com>
* gtk/gtkaccellabel.h
* gtk/gtkactiongroup.h
* gtk/gtkalignment.h
* gtk/gtkarrow.h
* gtk/gtkaspectframe.h
* gtk/gtkbin.h
* gtk/gtkhandlebox.h
* gtk/gtkprogressbar.h
* gtk/gtkrange.h
* gtk/gtkscale.h
* gtk/gtkscalebutton.h
* gtk/gtkselection.h: fix some formatting and spacing uglyness
that got merged from the GSEAL branch.
svn path=/trunk/; revision=20643
2008-06-20 14:17:00 +00:00
Johan Dahlin
812eaa436f
Add missing accessor for sealed field GtkMessageDialog->image.
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk.symbols:
* gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
* gtk/gtkmessagedialog.h:
Add missing accessor for sealed field GtkMessageDialog->image.
svn path=/trunk/; revision=20642
2008-06-20 14:08:18 +00:00
Michael Natterer
58808c169e
fix ChangeLog
...
svn path=/trunk/; revision=20641
2008-06-20 13:55:59 +00:00
Michael Natterer
9ae864e46e
the GSEAL branch added two includes for no reason.
...
2008-06-20 Michael Natterer <mitch@imendio.com>
* gtk/gtkprinter.h: the GSEAL branch added two includes for no
reason.
svn path=/trunk/; revision=20640
2008-06-20 13:55:21 +00:00
Johan Dahlin
e46eeab2a9
Add missing Since: gtk-doc markup for newly added GSEAL API. Change all
...
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkaccelgroup.c:
* gtk/gtkcolorseldialog.c:
* gtk/gtkcontainer.c:
* gtk/gtkdialog.c:
* gtk/gtkentry.c (gtk_entry_class_init):
* gtk/gtkfontsel.c:
* gtk/gtkhandlebox.c:
* gtk/gtklayout.c:
* gtk/gtkmenu.c (gtk_menu_class_init):
* gtk/gtkmenuitem.c (gtk_menu_item_class_init):
* gtk/gtkplug.c (gtk_plug_class_init):
* gtk/gtkselection.c:
* gtk/gtksocket.c:
* gtk/gtktreeselection.c:
* gtk/gtkwidget.c (gtk_widget_class_init):
* gtk/gtkwindow.c:
Add missing Since: gtk-doc markup for newly added GSEAL API.
Change all Since: GSEAL-branch to Since: 2.14.
svn path=/trunk/; revision=20639
2008-06-20 13:54:31 +00:00
Michael Natterer
38684d0a35
fix some formatting and whitespace in the code merged from the GSEAL
...
2008-06-20 Michael Natterer <mitch@imendio.com>
* gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
the code merged from the GSEAL branch.
svn path=/trunk/; revision=20638
2008-06-20 13:34:17 +00:00
Michael Natterer
7cd4eb5650
change return value from GtkHButtonBox to GtkWidget.
...
2008-06-20 Michael Natterer <mitch@imendio.com>
* gtk/gtkdialog.c (gtk_dialog_get_action_area): change return
value from GtkHButtonBox to GtkWidget.
svn path=/trunk/; revision=20637
2008-06-20 13:23:22 +00:00
Michael Natterer
1c453c8849
deuglify formatting of sealed fields.
...
2008-06-20 Michael Natterer <mitch@imendio.com>
* gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
of sealed fields.
svn path=/trunk/; revision=20636
2008-06-20 12:24:44 +00:00
Michael Natterer
a44c258282
gtk/gtkwindow.[ch] rename gtk_window_group_get_windows() to
...
2008-06-20 Michael Natterer <mitch@imendio.com>
* gtk/gtkwindow.[ch]
* gtk/gtk.symbols: rename gtk_window_group_get_windows() to
gtk_window_group_list_windows().
svn path=/trunk/; revision=20635
2008-06-20 11:51:44 +00:00
Tim Janik
632c90d3d1
ChangeLog: update with GSEAL branch changes.
...
svn path=/trunk/; revision=20634
2008-06-20 11:33:34 +00:00
Tim Janik
de676bf594
Fixed wrongly resolved merge conflicts.
...
* Fixed wrongly resolved merge conflicts.
svn path=/trunk/; revision=20633
2008-06-20 11:11:01 +00:00
Tim Janik
870b9c868c
Add gtk_window_group_get_windows().
...
* gtk/gtk.symbols:
* gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
svn path=/trunk/; revision=20632
2008-06-20 11:10:55 +00:00
Tim Janik
dd8ea21142
Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
...
* gtk/gtkdialog.c: Add missing documentation for new fucntions.
svn path=/trunk/; revision=20631
2008-06-20 11:10:48 +00:00
Tim Janik
13341d7cb9
Document gtk_container_get_focus_child().
...
* gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
svn path=/trunk/; revision=20630
2008-06-20 11:10:43 +00:00
Tim Janik
c4576c3a85
Add gtk_plug_get_socket_window
...
svn path=/trunk/; revision=20629
2008-06-20 11:10:37 +00:00
Tim Janik
016d891708
Remove superflous gtkselection accessors and merge _get_data
...
svn path=/trunk/; revision=20628
2008-06-20 11:10:31 +00:00
Tim Janik
0e072ea8be
Implement gtk_selection_get_display, style fixes
...
svn path=/trunk/; revision=20627
2008-06-20 11:10:26 +00:00
Tim Janik
8a2fac3040
Fix indentation of a comment.
...
svn path=/trunk/; revision=20626
2008-06-20 11:10:20 +00:00
Tim Janik
bf2323b1de
Change docs and signature of gtk_widget_get_allocation
...
svn path=/trunk/; revision=20625
2008-06-20 11:10:14 +00:00
Tim Janik
1a13990f6e
Remove unneeded GtkColorSelectionDialog accessors
...
svn path=/trunk/; revision=20624
2008-06-20 11:10:08 +00:00
Tim Janik
dcbc5d021f
Fix documentaion of gtk_menu_item_get_accel_path
...
svn path=/trunk/; revision=20623
2008-06-20 11:10:02 +00:00
Tim Janik
886ffbe067
Fix gtk_widget_get_allocation
...
svn path=/trunk/; revision=20622
2008-06-20 11:09:56 +00:00
Tim Janik
cd19149ad5
Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
...
* gtk/gtkbox.h:
* gtk/gtkbutton.h:
* gtk/gtkcellrenderer.h:
* gtk/gtkcellrenderertext.h:
* gtk/gtkcheckmenuitem.h:
* gtk/gtkcontainer.h:
* gtk/gtkentry.h:
* gtk/gtkhandlebox.h:
* gtk/gtkimcontextsimple.h:
* gtk/gtklabel.h:
* gtk/gtkliststore.h:
* gtk/gtkmenu.h:
* gtk/gtkmenuitem.h:
* gtk/gtkmenushell.h:
* gtk/gtknotebook.h:
* gtk/gtkpaned.h:
* gtk/gtkplug.h:
* gtk/gtkprintjob.h:
* gtk/gtkprogressbar.h:
* gtk/gtkrange.h:
* gtk/gtkscale.h:
* gtk/gtkscrolledwindow.h:
* gtk/gtksizegroup.h:
* gtk/gtksocket.h:
* gtk/gtkspinbutton.h:
* gtk/gtkstatusbar.h:
* gtk/gtktable.h:
* gtk/gtktearoffmenuitem.h:
* gtk/gtktextbuffer.h:
* gtk/gtktextview.h:
* gtk/gtktogglebutton.h:
* gtk/gtktoolbar.h:
* gtk/gtktreestore.h:
* gtk/gtktreeviewcolumn.h:
* gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
svn path=/trunk/; revision=20621
2008-06-20 11:09:49 +00:00