Setting state flags is actually needed here since this function is called by GtkButton subclasses which add their specific state flags as a parameter. This reverts commit e868b8d6.