Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
xfce4-weather-plugin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Panel Plugins
xfce4-weather-plugin
Commits
e9544442
Commit
e9544442
authored
Aug 02, 2012
by
Harald Judt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add const qualifiers where appropriate: weather-summary
parent
e5f3ad83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
panel-plugin/weather-summary.c
panel-plugin/weather-summary.c
+12
-12
No files found.
panel-plugin/weather-summary.c
View file @
e9544442
...
...
@@ -217,9 +217,9 @@ get_logo_path(void)
static
void
logo_fetched
(
gboolean
succeed
,
logo_fetched
(
const
gboolean
succeed
,
gchar
*
result
,
size_t
len
,
const
size_t
len
,
gpointer
user_data
)
{
if
(
succeed
&&
result
)
{
...
...
@@ -485,8 +485,8 @@ create_summary_tab(xfceweather_data *data)
static
GtkWidget
*
add_forecast_cell
(
GtkWidget
*
widget
,
GdkColor
*
color
)
add_forecast_cell
(
const
GtkWidget
*
widget
,
const
GdkColor
*
color
)
{
GtkWidget
*
ebox
;
...
...
@@ -503,9 +503,9 @@ add_forecast_cell(GtkWidget *widget,
static
GtkWidget
*
add_forecast_header
(
gchar
*
text
,
gdouble
angle
,
GdkColor
*
color
)
add_forecast_header
(
const
gchar
*
text
,
const
gdouble
angle
,
const
GdkColor
*
color
)
{
GtkWidget
*
label
,
*
align
;
gchar
*
str
;
...
...
@@ -532,9 +532,9 @@ make_forecast(xfceweather_data *data)
GtkWidget
*
table
,
*
ebox
,
*
box
,
*
align
;
GtkWidget
*
forecast_box
,
*
label
,
*
image
;
GdkPixbuf
*
icon
;
GdkColor
black
=
{
0
,
0x0000
,
0x0000
,
0x0000
};
GdkColor
lightbg
=
{
0
,
0xeaea
,
0xeaea
,
0xeaea
};
GdkColor
darkbg
=
{
0
,
0x6666
,
0x6666
,
0x6666
};
const
GdkColor
black
=
{
0
,
0x0000
,
0x0000
,
0x0000
};
const
GdkColor
lightbg
=
{
0
,
0xeaea
,
0xeaea
,
0xeaea
};
const
GdkColor
darkbg
=
{
0
,
0x6666
,
0x6666
,
0x6666
};
gint
i
,
weekday
,
daytime
;
gchar
*
dayname
,
*
wind_speed
,
*
wind_direction
,
*
value
,
*
rawvalue
;
xml_time
*
fcdata
;
...
...
@@ -729,8 +729,8 @@ create_forecast_tab(xfceweather_data *data,
static
void
summary_dialog_response
(
GtkWidget
*
dlg
,
gint
response
,
summary_dialog_response
(
const
GtkWidget
*
dlg
,
const
gint
response
,
GtkWidget
*
window
)
{
if
(
response
==
GTK_RESPONSE_ACCEPT
)
...
...
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