*fix* warning
*fix* tint2conf installation directories git-svn-id: http://tint2.googlecode.com/svn/trunk@604 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
2ab0d33ae5
commit
cf12f63198
3 changed files with 4 additions and 4 deletions
|
@ -923,7 +923,7 @@ start:
|
|||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case ClientMessage:
|
||||
ev = &e.xclient;
|
||||
|
|
|
@ -45,6 +45,6 @@ set_target_properties( tint2conf PROPERTIES LINK_FLAGS "-pthread" )
|
|||
|
||||
install( TARGETS tint2conf DESTINATION bin )
|
||||
install( PROGRAMS tintwizard.py DESTINATION bin )
|
||||
install( FILES taskbar.svg DESTINATION share/icons/hicolor/scalable/apps )
|
||||
install( FILES tint2conf.desktop DESTINATION share/applications )
|
||||
install( FILES taskbar.svg DESTINATION ${DATADIR}/icons/hicolor/scalable/apps )
|
||||
install( FILES tint2conf.desktop DESTINATION ${DATADIR}/applications )
|
||||
install( CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${DATADIR}/icons/hicolor WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})" )
|
||||
|
|
|
@ -398,7 +398,7 @@ void remove_from_multi_timeout(timeout* t)
|
|||
|
||||
if (g_slist_length(mth->timeout_list) == 1) {
|
||||
timeout* last_timeout = mth->timeout_list->data;
|
||||
g_slist_remove(mth->timeout_list, last_timeout);
|
||||
mth->timeout_list = g_slist_remove(mth->timeout_list, last_timeout);
|
||||
free(last_timeout->multi_timeout);
|
||||
last_timeout->multi_timeout = 0;
|
||||
g_hash_table_remove(multi_timeouts, last_timeout);
|
||||
|
|
Loading…
Reference in a new issue