fix the rest of errors with CFLAGS+="-DGSEAL_ENABLE" except accel_label->accel_string required hack
This commit is contained in:
@@ -309,7 +309,7 @@ GenericPluginUI::WidgetControlCallback(GtkWidget *widget,
|
||||
for (; controllerIter != _widgetControlledByMap[controllee].end(); ++controllerIter)
|
||||
{
|
||||
// Dependence found; honor it.
|
||||
if (!(GTK_TOGGLE_BUTTON(*controllerIter)->active))
|
||||
if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(*controllerIter)))
|
||||
{
|
||||
sensitive = false;
|
||||
break;
|
||||
@@ -320,7 +320,7 @@ GenericPluginUI::WidgetControlCallback(GtkWidget *widget,
|
||||
for (; controllerIter != _widgetAntiControlledByMap[controllee].end(); ++controllerIter)
|
||||
{
|
||||
// Anti-dependence found; honor it.
|
||||
if (GTK_TOGGLE_BUTTON(*controllerIter)->active)
|
||||
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(*controllerIter)))
|
||||
{
|
||||
sensitive = false;
|
||||
break;
|
||||
@@ -371,4 +371,4 @@ GenericPluginUI::InfoReportDialog(const char *title,
|
||||
{
|
||||
// Pass this operation to Radiant.
|
||||
GlobalRadiant().m_pfnMessageBox(UIInstance()._window, message, title, eMB_OK, eMB_ICONDEFAULT);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user