don't check equality to gboolean FALSE and TRUE
This commit is contained in:
@@ -86,7 +86,7 @@ class CharacterSet
|
||||
const char* m_charSet;
|
||||
public:
|
||||
CharacterSet(){
|
||||
if ( g_get_charset( &m_charSet ) != FALSE ) {
|
||||
if ( g_get_charset( &m_charSet ) ) {
|
||||
m_charSet = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
#include "debugging/debugging.h"
|
||||
|
||||
inline bool widget_is_visible( GtkWidget* widget ){
|
||||
//return GTK_WIDGET_VISIBLE( widget ) != FALSE;
|
||||
return gtk_widget_get_visible( widget ) != FALSE;
|
||||
//return GTK_WIDGET_VISIBLE( widget );
|
||||
return gtk_widget_get_visible( widget );
|
||||
}
|
||||
|
||||
inline void widget_set_visible( GtkWidget* widget, bool show ){
|
||||
|
||||
Reference in New Issue
Block a user