mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-03 15:34:54 -05:00
Change screenshot warning to printf.
This commit is contained in:
parent
4157b5d825
commit
854304ca2f
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ static void menu_capture_screenshot ( void )
|
||||||
else {
|
else {
|
||||||
fpath = g_strdup ( outp );
|
fpath = g_strdup ( outp );
|
||||||
}
|
}
|
||||||
g_warning ( color_green "Storing screenshot %s\n"color_reset, fpath );
|
fprintf ( stderr, color_green "Storing screenshot %s\n"color_reset, fpath );
|
||||||
cairo_status_t status = cairo_surface_write_to_png ( CacheState.edit_surf, fpath );
|
cairo_status_t status = cairo_surface_write_to_png ( CacheState.edit_surf, fpath );
|
||||||
if ( status != CAIRO_STATUS_SUCCESS ) {
|
if ( status != CAIRO_STATUS_SUCCESS ) {
|
||||||
g_warning ( "Failed to produce screenshot '%s', got error: '%s'", fpath,
|
g_warning ( "Failed to produce screenshot '%s', got error: '%s'", fpath,
|
||||||
|
|
Loading…
Add table
Reference in a new issue