Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
81376a6e
Commit
81376a6e
authored
Jul 04, 2008
by
Matthias Clasen
Browse files
Debork
svn path=/trunk/; revision=20765
parent
e9094163
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
81376a6e
2008-07-04 Matthias Clasen <mclasen@redhat.com>\
* gtk/gtkmenu.c: Debork the attach-widget property.
2008-07-04 Michael Natterer <mitch@imendio.com>
Fix make check:
...
...
gtk/gtkmenu.c
View file @
81376a6e
...
...
@@ -536,16 +536,18 @@ gtk_menu_class_init (GtkMenuClass *class)
/**
* GtkMenu:attach-widget:
*
* The widget the menu is attached to.
* The widget the menu is attached to. Setting this property attaches
* the menu without a #GtkMenuDetachFunc. If you need to use a detacher,
* use gtk_menu_attach_to_widget() directly.
*
* Since: 2.14
**/
g_object_class_install_property
(
gobject_class
,
PROP_A
CCEL_PATH
,
g_param_spec_
string
(
"attach-widget"
,
PROP_A
TTACH_WIDGET
,
g_param_spec_
object
(
"attach-widget"
,
P_
(
"Attach Widget"
),
P_
(
"The widget the menu is attached to"
),
NULL
,
GTK_TYPE_WIDGET
,
GTK_PARAM_READWRITE
));
g_object_class_install_property
(
gobject_class
,
...
...
@@ -792,7 +794,7 @@ gtk_menu_set_property (GObject *object,
gtk_menu_set_accel_path
(
menu
,
g_value_get_string
(
value
));
break
;
case
PROP_ATTACH_WIDGET
:
gtk_menu_attach
(
menu
,
g_value_get_object
(
value
),
0
,
0
,
0
,
0
);
gtk_menu_attach
_to_widget
(
menu
,
g_value_get_object
(
value
),
NULL
);
break
;
case
PROP_TEAROFF_STATE
:
gtk_menu_set_tearoff_state
(
menu
,
g_value_get_boolean
(
value
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment