Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gtk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dorota Czaplejewicz
gtk
Commits
c472d99c
Commit
c472d99c
authored
Jun 24, 2008
by
Johan Dahlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert GtkScaleButton accesses for plus/minus buttons, as per #539944
svn path=/trunk/; revision=20682
parent
24c0eb5d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
47 deletions
+1
-47
ChangeLog
ChangeLog
+0
-7
gtk/gtk.symbols
gtk/gtk.symbols
+0
-2
gtk/gtkcontainer.c
gtk/gtkcontainer.c
+1
-0
gtk/gtkscalebutton.c
gtk/gtkscalebutton.c
+0
-36
gtk/gtkscalebutton.h
gtk/gtkscalebutton.h
+0
-2
No files found.
ChangeLog
View file @
c472d99c
...
...
@@ -211,13 +211,6 @@
* gtk/gtklayout.c (enum): Remove left-over unused property enum.
* 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.
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
...
...
gtk/gtk.symbols
View file @
c472d99c
...
...
@@ -3309,8 +3309,6 @@ gtk_scale_button_set_icons
gtk_scale_button_set_value
gtk_scale_button_get_adjustment
gtk_scale_button_set_adjustment
gtk_scale_button_get_minus_button
gtk_scale_button_get_plus_button
#endif
#endif
...
...
gtk/gtkcontainer.c
View file @
c472d99c
...
...
@@ -819,6 +819,7 @@ gtk_container_add_with_properties (GtkContainer *container,
g_return_if_fail
(
GTK_IS_CONTAINER
(
container
));
g_return_if_fail
(
GTK_IS_WIDGET
(
widget
));
g_return_if_fail
(
widget
->
parent
==
NULL
);
g_return_if_fail
(
widget
->
parent
==
container
);
g_object_ref
(
container
);
g_object_ref
(
widget
);
...
...
gtk/gtkscalebutton.c
View file @
c472d99c
...
...
@@ -1321,41 +1321,5 @@ gtk_scale_button_scale_value_changed (GtkRange *range)
g_object_notify
(
G_OBJECT
(
button
),
"value"
);
}
/**
* gtk_scale_button_get_plus_button:
* @button: a #GtkScaleButton
*
* Retrieves the scale buttons plus button widget
*
* Return value: the plus button widget
*
* Since: 2.14
*/
GtkWidget
*
gtk_scale_button_get_plus_button
(
GtkScaleButton
*
button
)
{
g_return_val_if_fail
(
GTK_IS_SCALE_BUTTON
(
button
),
button
);
return
button
->
plus_button
;
}
/**
* gtk_scale_button_get_minus_button:
* @button: a #GtkScaleButton
*
* Retrieves the scale buttons minus button widget
*
* Return value: the minus button widget
*
* Since: 2.14
*/
GtkWidget
*
gtk_scale_button_get_minus_button
(
GtkScaleButton
*
button
)
{
g_return_val_if_fail
(
GTK_IS_SCALE_BUTTON
(
button
),
button
);
return
button
->
minus_button
;
}
#define __GTK_SCALE_BUTTON_C__
#include "gtkaliasdef.c"
gtk/gtkscalebutton.h
View file @
c472d99c
...
...
@@ -95,8 +95,6 @@ void gtk_scale_button_set_value (GtkScaleButton *button,
GtkAdjustment
*
gtk_scale_button_get_adjustment
(
GtkScaleButton
*
button
);
void
gtk_scale_button_set_adjustment
(
GtkScaleButton
*
button
,
GtkAdjustment
*
adjustment
);
GtkWidget
*
gtk_scale_button_get_plus_button
(
GtkScaleButton
*
button
);
GtkWidget
*
gtk_scale_button_get_minus_button
(
GtkScaleButton
*
button
);
G_END_DECLS
...
...
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