Tim Janik
f5e718b985
Seal priv pointer in GtkAboutDialog.
...
svn path=/trunk/; revision=20552
2008-06-20 11:03:36 +00:00
Tim Janik
3d2531e624
Seal GtkSizeGroup.
...
svn path=/trunk/; revision=20551
2008-06-20 11:03:31 +00:00
Tim Janik
e2b7eafd44
Seal GtkPaned.
...
svn path=/trunk/; revision=20550
2008-06-20 11:03:25 +00:00
Tim Janik
00dab379da
Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
...
svn path=/trunk/; revision=20549
2008-06-20 11:03:20 +00:00
Tim Janik
bf45ec46a6
Add new GtkColorSelectionDialog accessors to gtk.symbols.
...
svn path=/trunk/; revision=20548
2008-06-20 11:03:14 +00:00
Tim Janik
8697184d32
gtklabel.h: include bit-size of fields inside GSEAL parens.
...
svn path=/trunk/; revision=20547
2008-06-20 11:03:09 +00:00
Tim Janik
2974a7ce1f
gtktoolbar.h: include bit-size of fields inside GSEAL parens.
...
svn path=/trunk/; revision=20546
2008-06-20 11:03:03 +00:00
Tim Janik
b2b1dbc121
gtkentry.h: include bit-size of fields inside GSEAL parens.
...
svn path=/trunk/; revision=20545
2008-06-20 11:02:58 +00:00
Tim Janik
bdc28ff2d1
Add new accessors for GtkEntry to gtk.symbols.
...
svn path=/trunk/; revision=20544
2008-06-20 11:02:52 +00:00
Tim Janik
f62acc13db
Also seal GtkWindowGroup in gtkwindow.h
...
svn path=/trunk/; revision=20543
2008-06-20 11:02:46 +00:00
Tim Janik
dc35b5ed5e
Fix the build by including gdkconfig.h in gtktextchild.h.
...
svn path=/trunk/; revision=20542
2008-06-20 11:02:41 +00:00
Tim Janik
9dcddb61dc
Seal GtkLabel
...
svn path=/trunk/; revision=20541
2008-06-20 11:02:36 +00:00
Tim Janik
ba917629a4
Seal GtkToolbar
...
svn path=/trunk/; revision=20540
2008-06-20 11:02:30 +00:00
Tim Janik
19431e8b51
Seal GtkColorSelectionDialog
...
svn path=/trunk/; revision=20539
2008-06-20 11:02:25 +00:00
Tim Janik
a04318013f
Seal GtkTextChildAnchor.
...
* gtk/gtktextchild.h: Sealed private member.
svn path=/trunk/; revision=20538
2008-06-20 11:02:19 +00:00
Tim Janik
9135675bfd
Seal GtkWindow.
...
* gtk/gtkwindow.h: Seal all fields.
svn path=/trunk/; revision=20537
2008-06-20 11:02:14 +00:00
Tim Janik
26153af8af
Add gtk_window_get_default()
...
* gtk/gtkwindow.[ch]: Add gtk_window_get_default().
* gtk/gtk.symbols: same here.
svn path=/trunk/; revision=20536
2008-06-20 11:02:08 +00:00
Tim Janik
5f1120a0b0
Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
...
svn path=/trunk/; revision=20535
2008-06-20 11:02:02 +00:00
Tim Janik
49b07b9460
Seal GtkEntry
...
svn path=/trunk/; revision=20534
2008-06-20 11:01:56 +00:00
Tim Janik
66e81271ac
Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
...
svn path=/trunk/; revision=20533
2008-06-20 11:01:50 +00:00
Tim Janik
891fba9dc8
Seal GtkToggleButton.
...
* gtk/gtktogglebutton.h: Seal all member fields.
svn path=/trunk/; revision=20532
2008-06-20 11:01:45 +00:00
Tim Janik
1a52d49b15
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
2008-06-20 11:01:40 +00:00
Tim Janik
a0782663f6
Seal GtkRadioMenuItem.
...
* gtk/gtkradiomenuitem.h: Seal member field.
svn path=/trunk/; revision=20530
2008-06-20 11:01:35 +00:00
Tim Janik
a346897fc5
Seal GtkRadioButton.
...
* gtk/gtkradiobutton.h: seal member field.
svn path=/trunk/; revision=20529
2008-06-20 11:01:29 +00:00
Tim Janik
4e1a46ebc3
Seal GtkTreeSelection.
...
* gtk/gtktreeselection.h: Seal all member fields.
svn path=/trunk/; revision=20528
2008-06-20 11:01:24 +00:00
Tim Janik
1ba7f437bc
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
2008-06-20 11:01:18 +00:00
Tim Janik
2ff111071d
Seal GtkScrolledWindow.
...
* gtk/gtkscrolledwindow.h: Seal all object member fields.
svn path=/trunk/; revision=20526
2008-06-20 11:01:13 +00:00
Tim Janik
2bb1cc877d
Seal GtkCellRenderer.
...
* gtk/gtkcellrenderer.h: seal all member fields. All member fields are
already accessible via GObject properties.
svn path=/trunk/; revision=20525
2008-06-20 11:01:07 +00:00
Tim Janik
d0852ad65c
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
2008-06-20 11:01:02 +00:00
Tim Janik
a734a9bca1
Seal GtkCellRendererText.
...
* gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
marked as private).
svn path=/trunk/; revision=20523
2008-06-20 11:00:57 +00:00
Tim Janik
50659b66dc
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
2008-06-20 11:00:52 +00:00
Tim Janik
30c563a5ce
Seal GtkCellRendererAccel.
...
* gtk/gtkcellrendereraccel.h: seal all member fields that were already
marked as private.
svn path=/trunk/; revision=20521
2008-06-20 11:00:46 +00:00
Tim Janik
c6bcd622f5
Seal GtkTreeView
...
* gtk/gtktreeview.h: seal private pointer.
svn path=/trunk/; revision=20520
2008-06-20 11:00:41 +00:00
Tim Janik
0e5b2302aa
Seal GtkTreeModelFilter
...
* gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
pointer.
svn path=/trunk/; revision=20519
2008-06-20 11:00:35 +00:00
Tim Janik
78218ceccf
Seal GtkTreeModelSort
...
* gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
all public member fields.
svn path=/trunk/; revision=20518
2008-06-20 11:00:30 +00:00
Tim Janik
33ef105c6a
Seal GtkTreeStore
...
* gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
public member fields.
svn path=/trunk/; revision=20517
2008-06-20 11:00:25 +00:00
Tim Janik
b4dafcbe6a
Seal GtkListStore
...
* gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
public member fields.
svn path=/trunk/; revision=20516
2008-06-20 11:00:20 +00:00
Tim Janik
b2b2e6431e
add accessor.
...
* gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
svn path=/trunk/; revision=20515
2008-06-20 11:00:12 +00:00
Tim Janik
2a10964008
seal members.
...
* gtk/gtkcontainer.h: seal members.
svn path=/trunk/; revision=20514
2008-06-20 11:00:06 +00:00
Tim Janik
36112dccd4
seal members.
...
* gtk/gtkmisc.h: seal members.
svn path=/trunk/; revision=20513
2008-06-20 10:59:58 +00:00
Tim Janik
6e1e3c5942
*gtk/gtkfixed.h: seal members.
...
svn path=/trunk/; revision=20512
2008-06-20 10:59:53 +00:00
Tim Janik
2c8371202a
seal all members.
...
* gtk/gtkcellrendererpixbuf.h: seal all members.
svn path=/trunk/; revision=20511
2008-06-20 10:59:48 +00:00
Tim Janik
03a27c861d
seal private member.
...
* gtk/gtkcellrendererprogress.h: seal private member.
svn path=/trunk/; revision=20510
2008-06-20 10:59:43 +00:00
Tim Janik
cf839d82c8
seal all members.
...
* gtk/gtkcellrenderertoggle.h: seal all members.
svn path=/trunk/; revision=20509
2008-06-20 10:59:38 +00:00
Tim Janik
d8bd3aecc8
Seal the private member.
...
* gtk/gtkfilechooserwidget.h: Seal the private member.
svn path=/trunk/; revision=20508
2008-06-20 10:59:32 +00:00
Tim Janik
2d63684418
gtk/gtkfilechooserdialog.h: seal the private member.
...
svn path=/trunk/; revision=20507
2008-06-20 10:59:27 +00:00
Tim Janik
84086c1e07
Seal private member.
...
* gtk/gtkentrycompletion.h: Seal private member.
svn path=/trunk/; revision=20506
2008-06-20 10:59:22 +00:00
Tim Janik
7b287e64bc
Seal the private member.
...
* gtk/gtkcellview.h: Seal the private member.
svn path=/trunk/; revision=20505
2008-06-20 10:59:17 +00:00
Tim Janik
5d0c759d3d
seal private member.
...
* gtk/gtkcolorbutton.h: seal private member.
svn path=/trunk/; revision=20504
2008-06-20 10:59:11 +00:00
Tim Janik
fd807d45be
seal public struct members.
...
* gtk/gtkcheckmenuitem.h: seal public struct members.
svn path=/trunk/; revision=20503
2008-06-20 10:59:06 +00:00
Tim Janik
4c323f5716
seal public struct members.
...
* gtk/gtkcalendar.h: seal public struct members.
svn path=/trunk/; revision=20502
2008-06-20 10:59:01 +00:00
Tim Janik
fa1e2eb009
Also seal variables marked as private.
...
* gtk/gtkdialog.h: Also seal variables marked as private.
svn path=/trunk/; revision=20501
2008-06-20 10:58:55 +00:00
Tim Janik
d0b16c1151
seal private member.
...
* gtk/gtkimagemenuitem.h: seal private member.
svn path=/trunk/; revision=20500
2008-06-20 10:58:50 +00:00
Tim Janik
db9b3c138e
seal private member.
...
* gtk/gtkiconfactory.h: seal private member.
svn path=/trunk/; revision=20499
2008-06-20 10:58:45 +00:00
Tim Janik
868135e879
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
2008-06-20 10:58:40 +00:00
Tim Janik
9f58854b06
Seal GtkAccelLabel
...
gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
svn path=/trunk/; revision=20497
2008-06-20 10:58:34 +00:00
Tim Janik
1ebf1af100
seal instance struct member.
...
* gtk/gtkdrawingarea.h: seal instance struct member.
svn path=/trunk/; revision=20496
2008-06-20 10:58:29 +00:00
Tim Janik
9cc14da90c
Seal GtkScaleButton public fields
...
* gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
svn path=/trunk/; revision=20495
2008-06-20 10:58:23 +00:00
Tim Janik
133ebd1c47
Seal GtkScale public fields
...
* gtk/gtkscale.h: Deprecate direct access through GSEAL().
svn path=/trunk/; revision=20494
2008-06-20 10:58:18 +00:00
Tim Janik
9fd6a33aed
Seal GtkProgressBar public fields
...
svn path=/trunk/; revision=20493
2008-06-20 10:58:13 +00:00
Tim Janik
171adb0a1d
Seal GtkFrame public vars
...
svn path=/trunk/; revision=20492
2008-06-20 10:58:07 +00:00
Tim Janik
81acd2e7be
Deprecate direct access to public variables in GtkButton.
...
* gtk/gtkbutton.h: Deprecate direct access through GSEAL().
svn path=/trunk/; revision=20491
2008-06-20 10:58:02 +00:00
Tim Janik
6c365eba73
Deprecate direct access to public variables in GtkButtonBox.
...
* gtk/gtkbbox.h: Deprecate direct access through GSEAL().
svn path=/trunk/; revision=20490
2008-06-20 10:57:57 +00:00
Tim Janik
fe53ab75bb
Deprecate direct access to public variables in GtkBox.
...
* gtk/gtkbox.h: Deprecate direct access through GSEAL().
svn path=/trunk/; revision=20489
2008-06-20 10:57:52 +00:00
Tim Janik
acea4faf74
Seal GtkMessageDialog public vars
...
svn path=/trunk/; revision=20488
2008-06-20 10:57:46 +00:00
Tim Janik
b3c47333f3
Seal GtkDialog public vars
...
svn path=/trunk/; revision=20487
2008-06-20 10:57:41 +00:00
Tim Janik
b15ca51c35
Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
...
svn path=/trunk/; revision=20486
2008-06-20 10:57:35 +00:00
Tim Janik
112f03938c
Seal GtkAssistant public fields
...
svn path=/trunk/; revision=20485
2008-06-20 10:57:29 +00:00
Tim Janik
12b99bbd64
Seal GtkNotebook public fields
...
svn path=/trunk/; revision=20484
2008-06-20 10:57:23 +00:00
Tim Janik
bde0b4458f
Deprecate direct access to child in GtkBin.
...
* gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
svn path=/trunk/; revision=20483
2008-06-20 10:57:18 +00:00
Tim Janik
2436a762e4
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
2008-06-20 10:57:08 +00:00
Tim Janik
2aa3a83bd4
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
2008-06-20 10:57:01 +00:00
Tim Janik
e8cb6e4a8c
Deprecate arrow_type and shadow_type direct access in GtkArrow.
...
* gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
svn path=/trunk/; revision=20480
2008-06-20 10:56:55 +00:00
Tim Janik
b345e36f97
Added GSEAL to GtkAlignment.
...
* gtk/gtkalignment.h: Seal the object data with GSEAL.
svn path=/trunk/; revision=20479
2008-06-20 10:56:50 +00:00
Michael Natterer
2ba736d775
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
2008-06-20 10:00:40 +00:00
Johan Dahlin
9276cf5a06
Remove svn:executable property
...
svn path=/trunk/; revision=20475
2008-06-19 20:40:06 +00:00
Johan Dahlin
a4617da3bd
Remove executable property
...
svn path=/trunk/; revision=20474
2008-06-19 20:36:01 +00:00
Johan Dahlin
234dc3726f
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
2008-06-19 19:09:50 +00:00
Matthias Clasen
e1c47e2ee0
Use GIO for this.
...
* gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
for this.
svn path=/trunk/; revision=20472
2008-06-19 19:04:22 +00:00
Johan Dahlin
2a5a00646d
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
2008-06-19 17:42:14 +00:00
Johan Dahlin
8aa6c973d8
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
2008-06-19 14:19:34 +00:00
Johan Dahlin
ce811f7cec
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
2008-06-19 14:08:59 +00:00
Johan Dahlin
9678ce2eb9
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
2008-06-19 14:07:28 +00:00
Johan Dahlin
6ef2f57450
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
2008-06-19 13:43:51 +00:00
Christian Persch
c9e85e48f8
Add clipboard convenience helpers for URIs. Bug #537639 .
...
svn path=/trunk/; revision=20465
2008-06-19 12:55:57 +00:00
Christian Persch
a58a173b48
Use gtk_drag_[dest|source]_add_[text|uri]_targets(), and simplify code. Bug #516092 .
...
svn path=/trunk/; revision=20464
2008-06-19 12:52:40 +00:00
Christian Persch
446f41757b
Use g_set_error_literal where appropriate. Bug #538640 .
...
svn path=/trunk/; revision=20463
2008-06-19 12:47:48 +00:00
Johan Dahlin
1a30e12586
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
2008-06-19 12:25:19 +00:00
Johan Dahlin
a14ce91e91
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
2008-06-19 12:16:44 +00:00
Johan Dahlin
cafd4ffab2
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
2008-06-19 12:15:55 +00:00
Johan Dahlin
94e207777d
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
2008-06-19 12:15:07 +00:00
Olle Bergkvist
ad54e22fc7
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
2008-06-18 22:35:32 +00:00
Olle Bergkvist
666b544ddd
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
2008-06-18 22:23:39 +00:00
Matthias Clasen
d217ec4f90
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
2008-06-18 16:22:42 +00:00
Matthias Clasen
ad7fccfd96
Add some more standard icon names
...
svn path=/trunk/; revision=20453
2008-06-18 16:14:59 +00:00
Michael Natterer
09e8017c91
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
2008-06-18 15:42:27 +00:00
Michael Natterer
d5565f5b63
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
2008-06-18 13:29:02 +00:00
Michael Natterer
67c6c28fe0
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
2008-06-18 09:39:24 +00:00
Michael Natterer
fe8a946e87
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
2008-06-18 09:12:32 +00:00
Michael Natterer
9d21042702
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
2008-06-18 08:26:53 +00:00