Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zathura
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
Packages
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
Jeremie Knuesel
zathura
Commits
5e957bc6
Commit
5e957bc6
authored
Mar 16, 2019
by
Jeremie Knuesel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cb_widget_configured signature: return false
parent
9e58d075
Pipeline
#157
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
zathura/callbacks.c
zathura/callbacks.c
+4
-2
zathura/callbacks.h
zathura/callbacks.h
+2
-1
No files found.
zathura/callbacks.c
View file @
5e957bc6
...
...
@@ -256,15 +256,17 @@ cb_widget_screen_changed(GtkWidget* widget, GdkScreen* previous_screen, gpointer
zathura_update_view_ppi
(
zathura
);
}
void
gboolean
cb_widget_configured
(
GtkWidget
*
UNUSED
(
widget
),
GdkEvent
*
UNUSED
(
event
),
gpointer
data
)
{
zathura_t
*
zathura
=
data
;
if
(
zathura
==
NULL
)
{
return
;
return
false
;
}
zathura_update_view_ppi
(
zathura
);
return
false
;
}
void
...
...
zathura/callbacks.h
View file @
5e957bc6
...
...
@@ -116,8 +116,9 @@ void cb_widget_screen_changed(GtkWidget* widget, GdkScreen* previous_screen, gpo
* @param widget The main window widget
* @param event The configure event
* @param gpointer The zathura instance
* @return true if no error occurred and the event has been handled
*/
void
cb_widget_configured
(
GtkWidget
*
widget
,
GdkEvent
*
event
,
gpointer
data
);
gboolean
cb_widget_configured
(
GtkWidget
*
widget
,
GdkEvent
*
event
,
gpointer
data
);
/**
* This function gets called when the view widget scale factor changes (e.g.
...
...
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