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
Tim Janik
a72fdab93f
Introduce GSEAL() macro.
...
* configure.in: define GSEAL() when generating gdkconfig.h
svn path=/trunk/; revision=20478
2008-06-20 10:48:22 +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
Cody Russell
778be3e8e9
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
2008-06-20 05:12:24 +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
Priit Laes
8b4277dc9a
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
2008-06-19 13:05:14 +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